Alteryx Designer Desktop Discussions

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

How to create a macro for writing Excel files for different suppliers

arsh011
8 - Asteroid

I want write Excel files grouped by on Suppliers on their certain conditions according to their data.. How I can do this through macro or some kind of loop so that each file will be generate according to each supplier conditions. Please Help !!!

12 REPLIES 12
atcodedog05
22 - Nova
22 - Nova

Hi @arsh011 

 

Can you share what these conditions look like.

arsh011
8 - Asteroid

For example each supplier has different horizon of report , some supplier need 12 months data, some need 18 months and some need 8 months in report but when I generate the files , the maximum number which is 18 months is applied for all supplier. How can I solve this problem.

 

arsh011
8 - Asteroid

Please help @atcodedog05  mate !!

:(

arsh011
8 - Asteroid

@atcodedog05 

 

For example each supplier has different horizon of report , some supplier need 12 months data, some need 18 months and some need 8 months in report but when I generate the files , the maximum number which is 18 months is applied for all supplier. How can I solve this problem.

atcodedog05
22 - Nova
22 - Nova

Hi @arsh011 

 

Sorry, but i don't know how to solve this 😅

arsh011
8 - Asteroid

@atcodedog05 

Some kind of macro would work , that takes 1 supplier according to their condition and generate file one by one for each supplier?

atcodedog05
22 - Nova
22 - Nova

Hi @arsh011 

 

Can you provide some sample data.

arsh011
8 - Asteroid

@atcodedog05 

SHEET 1 SAMPLE DATA 

SHEET 2 AND SHEET 3 DESIRED FILES AS PER SUPPLIER.

atcodedog05
22 - Nova
22 - Nova

Hi @arsh011 

 

Try this workflow

 

atcodedog05_0-1646056135598.png

 

Hope this helps : )

 

Labels