ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Two macros at startup excel? (https://www.excelbanter.com/excel-programming/405426-two-macros-startup-excel.html)

ale[_2_]

Two macros at startup excel?
 
Hello, I have tried to do all you say in the Autorun Macro at Startup.
I have put my code in thisWorkbook Workbook_Open event.
But the problem is that my woorkbook is already running a macro. It
contains externally data that must be updated from Share Point.

How can I run two macros at startup?
Thanks
Ale

FSt1

Two macros at startup excel?
 
hi
run one macro then have the first macro call the second macro.
I once had a file that had to run 13 macros at open. the first macro was set
up to call the other macros in sequential order.
you can't run 2 macros at once so sequential order is your only option.

Regards
FSt1

"ale" wrote:

Hello, I have tried to do all you say in the Autorun Macro at Startup.
I have put my code in thisWorkbook Workbook_Open event.
But the problem is that my woorkbook is already running a macro. It
contains externally data that must be updated from Share Point.

How can I run two macros at startup?
Thanks
Ale


FSt1

Two macros at startup excel?
 
after thought....
only the first macro should be in the workbook_open event.
the second macro (the one that is called) should be in a standard module

regards
FSt1

"FSt1" wrote:

hi
run one macro then have the first macro call the second macro.
I once had a file that had to run 13 macros at open. the first macro was set
up to call the other macros in sequential order.
you can't run 2 macros at once so sequential order is your only option.

Regards
FSt1

"ale" wrote:

Hello, I have tried to do all you say in the Autorun Macro at Startup.
I have put my code in thisWorkbook Workbook_Open event.
But the problem is that my woorkbook is already running a macro. It
contains externally data that must be updated from Share Point.

How can I run two macros at startup?
Thanks
Ale



All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com