Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

No table chosen, Please select a Table from data source

hellyars
13 - Pulsar

I use this approach all the time.   But today, it will not work.

 

The directory tool and the macro's input tool are set to the same directory.   The directory contains Excel files.  Running the macro outputs the correct table.  But, the workflow fails with the error "No table chosen, please select a table from data source."   This occurs even when I remove all files except for the one referenced in the macro.  

 

Within the macro...   the file path is set to the same directory found used in the workflow's directory input tool; file format is set to Microsoft Excel (*.xlsx); Table is set to the correct table name; and output file name as field is set to full path.

 

What am I missing??????

 

Thanks.

 

IScreen Shot 2019-07-18 at 2.19.09 PM.pngScreen Shot 2019-07-18 at 2.22.51 PM.png

13 REPLIES 13
hellyars
13 - Pulsar

That works.  No errors.  Why?  I am using this macro in another workflow and it works with the full file and sheet names.   

Emil_Hasanov
7 - Meteor

Faced the exactly similar issue and you provided solution did work 🙂 Thanks!

vijaylnyadav
8 - Asteroid

@Thableaus  thnx for this solution.

 

But one condition I am facing if the sheet name is different then what we have to do?

GosiaK
7 - Meteor

Just had the same issue and this solution did the trick. Many thanks @Thableaus 

Labels