We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Combining Multiple individual excel file in One Workbook

sriniprad08
11 - Bolide

Hi Team,

Hope you are well. 

I have 10 individual excel file. I need to combine all of them into one workbook with different tabs.

 

For e.g 

Individual excel file - A, B, C,D

Output - One workbook - E ( with A, B, C ,D ) as individual sheets.

 

Please let me know,

 

thanks,

Sri

39 REPLIES 39
binuacs
21 - Polaris

@samson211 can you  make sure your macro action setup like below, make sure the file name showing in the file-value is same as the replace part of the action tool

image.png

samson211
8 - Asteroid

Currently its showing file name and sheet name.

 

How can we change it to the way you have shown>

 

Could you guide @binuacs ? 

samson211
8 - Asteroid

@binuacs  changed the setting as you mentioned, still error, attached WF and macro settings

Screenshot 2024-10-21 160530.png

Screenshot 2024-10-21 160451.png

Screenshot 2024-10-21 160617.png

   

binuacs
21 - Polaris

@samson211 what is the error you are getting from the first macro?

samson211
8 - Asteroid

Error: Get_Sheets_Macro (2): Record #2: Tool #5: The field schema for the output "Output5" changed between iterations.

binuacs
21 - Polaris

@samson211 change the settings inside the first macro like below

image.png

samson211
8 - Asteroid

but this code seems to "Replace([FileName], '<List of Sheet Names>', [Sheet Names])" error Unknown variable sheet name.

 

@binuacs , can we talk on personal chat if its ok.

binuacs
21 - Polaris

@samson211 the above change is to fix the first macro, once the first macro get fixed the sheet error will get resolve

samson211
8 - Asteroid

Yes, I did it. Its the same. Error still continue. Will find a way out.

 

Anyways @binuacs thanks for the support and time.

binuacs
21 - Polaris

@samson211 @ if you are still getting the error means your settings is not correct, can you upload your workflow with some dummy data?

Labels
Top Solution Authors