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

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
binuacs
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?

binuacs
21 - Polaris

@saachitalwar are you trying to read .xls files?

saachitalwar
8 - Asteroid

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

binuacs
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

binuacs
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?

binuacs
21 - Polaris

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

Labels
Top Solution Authors