In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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