Hi guys,
Is there a macro that I can use which, given a list of numbers (in a sheet called Variables.xls), and an empty report shell (Shell.xls), will:
1) Run a macro (within Shell.xls) based on the first number in Variables.xls
2) Save the output as 'number'.xls, where 'number' is the number in the list
3) Close 'number'.xls and re-open the report shell
4) Pick the next number in the list
etc, until the last number is used.
Sounds complicated, but should be easy for you guys! The main bit I am having problems with is the looping and saving.....
Thanks!
Is there a macro that I can use which, given a list of numbers (in a sheet called Variables.xls), and an empty report shell (Shell.xls), will:
1) Run a macro (within Shell.xls) based on the first number in Variables.xls
2) Save the output as 'number'.xls, where 'number' is the number in the list
3) Close 'number'.xls and re-open the report shell
4) Pick the next number in the list
etc, until the last number is used.
Sounds complicated, but should be easy for you guys! The main bit I am having problems with is the looping and saving.....
Thanks!