Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

load multiple xls files by using Macro - not working

c20091929
Meteor

Hello there, 

 

I want to load multiple xls files by using Macro. 

I have built the Macro, but it is not working.

 

2.JPG1.JPG

 

The error was "No table chosen; please select a table from the data source."

I have selected the table name in my Macro and the output was correct. Just don't understand why the workflow is not working...

 

Any help is really appreciated!!

Thank you all for your time.

4 ANTWORTEN 4
gabrielvilella
Magnetar

Hi @c20091929, insert a formula tool before the macro and concatenate the name of the sheet to the full path. Since you are working with XLS, don't forget the $ at the end. Example:

gabrielvilella_0-1644339350683.png

 

c20091929
Meteor

Hi my friend, 

 

Thank you so much for your reply. 

 

I tried to add the formula tool but still got the format error. 

 

c20091929_0-1644342942365.png

 

 

c20091929_2-1644342989841.png

 

 

Any ideas?

c20091929
Meteor

Finally know why now.

 

Replaced /// with ||| and now is working. 

 

Thank you so much for your time

gabrielvilella
Magnetar

Yeah you need the pipe, not the slash. I use the pipe on my answer. Happy to help! Please don't forget to mark my suggestion as the solution. 

Beschriftungen