Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Open all files in a specific folder

saachitalwar
8 - Asteroid

Hi,

I have a folder with various files and they all have 2-3 sheets each. How can I open all the files and get all the sheets?

 

I need to convert the .xls format files to .xlsx format essentially.

11 REPLIES 11
binu_acs
21 - Polaris

@saachitalwar use batch macro, sample workflow attached

image.png

saachitalwar
8 - Asteroid

I's afraid I haven't worked with batch macros before.

It's giving this error. How to add my folder?

binu_acs
21 - Polaris

@saachitalwar are you trying to read .xls files?

saachitalwar
8 - Asteroid

Yes, multiple files with sheet name either ABC/abc/ABCD

binu_acs
21 - Polaris

@saachitalwar inside the macro can you change the path .xls , save the macro and run again

image.png

saachitalwar
8 - Asteroid

I changed it to xls and need help with the list of sheet names. this error is popping up

binu_acs
21 - Polaris

@saachitalwar are you able to see the below option in your input file after connecting the .xls file

image.png

saachitalwar
8 - Asteroid

I'm using a directory.

 

Do you mean dynamic input?

binu_acs
21 - Polaris

@saachitalwar open a new workflow and connect any .xls file using input file and test the above settings

Labels
Top Solution Authors