ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to run a macro automatically when i open my excel spreadsheet (https://www.excelbanter.com/excel-programming/294553-how-run-macro-automatically-when-i-open-my-excel-spreadsheet.html)

harinath

How to run a macro automatically when i open my excel spreadsheet
 
Please put some light on this

Thanks,Harinath

Jean-Yves[_2_]

How to run a macro automatically when i open my excel spreadsheet
 
Hi,

In the Project explorer, open the "Thisworkbook" module
In the Top left dropdown of the module code window, select "Workbook" iso
"Declaration".
The top right dropdown gives you all the events associated with this
workbook, and for wich
you can have a sub.

Choose the "Workbook_Open"
Et voila.

Regards,

Jean-Yves



"Harinath" wrote in message
...
Please put some light on this.

Thanks,Harinath




Frank Kabel

How to run a macro automatically when i open my excel spreadsheet
 
Hi
in addition to use the Workbook_Open event you may rename your macro
Auto_Open()

--
Regards
Frank Kabel
Frankfurt, Germany

"Harinath" schrieb im Newsbeitrag
...
Please put some light on this.

Thanks,Harinath




All times are GMT +1. The time now is 12:24 PM.

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