Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Beginner batch macro

Hamder83
11 - Bolide

Hi 

I have a bounch of files with a similar structure.

I want to read them of my folder, like 

c:\Dennis\a.xlsm|||INPUT PARCELS$a1:g7

c:\Dennis\b.xlsm|||INPUT PARCELS$a1:g7

c:\Dennis\c.xlsm|||INPUT PARCELS$a1:g7

 

Thought i could just add "NPUT PARCELS$a1:g7" to a formula. And then make fullpath = fullpath+|||INPUT PARCELS$a1:g7

But it does not work?


2 REPLIES 2
Maskell_Rascal
13 - Pulsar

Hi @Hamder83,

 

If your files are all the same structure, you don't need a batch macro to accomplish this. You can do it all within the Input tool using a wild card. 

 

Input Tool configuration:

Maskell_Rascal_0-1628777110740.png

 

Data after input:

Maskell_Rascal_1-1628777158031.png

 

I added in the FileName to differentiate the files since I just made a copy of the same one three times for this example. 

 

Let me know if this solves the problem. 

 

Cheers!

Phil

 

 

Hamder83
11 - Bolide

This is great thank you 🙂 

Labels
Top Solution Authors