ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   run a macro automatically upon opening an XLS file??? (https://www.excelbanter.com/excel-programming/347244-run-macro-automatically-upon-opening-xls-file.html)

Ken Soenen

run a macro automatically upon opening an XLS file???
 
Is there any way to run a given macro automatically upon opening an Excel
file, rather than opening the file and then Tools/macro/macros.../Run ?



[email protected]

run a macro automatically upon opening an XLS file???
 
Hi Ken,

Yes: Call that macro auto_open().

It will be auto-executed when the.xls is opened unless the user presses
the shift key during open.

HTH,
Bernd


Ken Soenen

run a macro automatically upon opening an XLS file???
 
Thankyou Thankyou Thankyou!!!!


ken

wrote in message
oups.com...
Hi Ken,

Yes: Call that macro auto_open().

It will be auto-executed when the.xls is opened unless the user presses
the shift key during open.

HTH,
Bernd





All times are GMT +1. The time now is 05:38 AM.

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