Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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