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

Batch Macro

moinshaik
7 - Meteor

I have created a batch macro to pull the data from all of the sheets from an excel file, However it is taking the data only from the one sheet and not from all of them.

moinshaik_0-1581587501483.png

moinshaik_1-1581587525187.png

Please guide. Struggling To get this from 3 hours.. 

8 REPLIES 8
DavidP
17 - Castor
17 - Castor

I can't see your macro, but it's probably as simple as putting a browse tool after your macro in the workflow.

DavidP
17 - Castor
17 - Castor

Sorry, no, scrap that. You need to create a list of sheet names to feed into the batch macro. You could do this my running the macro twice, like this

batch.png

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @moinshaik,

 

I'd agree with @DavidP. When creating an iterative or batch macro if you don't put a browse tool after you will just see the first "iteration" or "run" of the macro and therefore not see all results from the run.

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

DavidP
17 - Castor
17 - Castor

example attached

MamtaB
5 - Atom

Hi - I have been trying to use this worklfow "Batch macro to read multiple sheets from excel file" but the output that I am getting in not aligned with the column names from different tabs in my excel input. I think I need to change the configuration in the Macro used to match by field name instead of position. Is it possible to share the macro used so I can edit it?

MarqueeCrew
20 - Arcturus
20 - Arcturus

I'd try using a CReW macro .... I think that there's one for exactly this purpose.

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
MamtaB
5 - Atom

I haven't used this CREW marco blog, I found multiple on this Alteryx community but not able to get the desired result. I am trying to merge 90+ tabs from a single excel file to give me one output. And since the fields in 90 tabs could be different, trying to arrange by file name. No success so far though.

MamtaB
5 - Atom

This was resolved, I was able to fix the macro after some research.

Labels