ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2002 and startup (https://www.excelbanter.com/excel-programming/290380-excel-2002-startup.html)

Glyn Davies

Excel 2002 and startup
 
Good Day,
I want to eliminate all the standard toolbars and show only my custom
one when I start excel by double-clicking on an xls file. The toolbar
control I have worked out, but how to get the macro to auto run when the
xls opens I can't get right. Do I use xlAutoOpen and if so, where is it
that I can edit it?
TIA
Glyn

Tom Ogilvy

Excel 2002 and startup
 
Use the workbook_Open event

See Chip Pearson's page on Events

http://www.cpearson.com/excel/events.htm


--
Regards,
Tom Ogilvy


"Glyn Davies" wrote in message
...
Good Day,
I want to eliminate all the standard toolbars and show only my custom
one when I start excel by double-clicking on an xls file. The toolbar
control I have worked out, but how to get the macro to auto run when the
xls opens I can't get right. Do I use xlAutoOpen and if so, where is it
that I can edit it?
TIA
Glyn





All times are GMT +1. The time now is 10:39 AM.

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