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

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
binu_acs
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 @binu_acs ? 

samson211
8 - Asteroid

@binu_acs  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

   

binu_acs
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.

binu_acs
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.

 

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

binu_acs
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 @binu_acs thanks for the support and time.

binu_acs
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