I have a macro, named macro1, which will pop up a screen and ask for selection in a input box. Since I have to repeat it hundred times, I intend to write another macro, by which I can run macro1 with specific selection number automatically.
Two macros are in the different workbook. The code I have is :
Application.Run ("filename.xla!Macro1")
It works. But it still popup the screen and ask for the selection number. Anyone knows how to write the command with a specific number selection to skip the screen popup. For example,
application.run ("filename.xla!Macro1", 2)
And advice is greatly appreciated. Have a great day.
Best,
Enter your message below
Sign in or Join us (it's free).