ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   workbook open() (https://www.excelbanter.com/excel-programming/281116-workbook-open.html)

John[_62_]

workbook open()
 
Hi all,
I am trying to process a function when a workbook open.
I put my code in Workbook.Open and Workbook.Activate
event, but it only works in a .xls file but doesn't
in .xlt file.

Does any one know how to process a function when a
template file is opened. THanks for any
answer/suggestion.

John.

Roomy R Shroff

workbook open()
 
Use the 'Window' object of the Excel App, and track the
events of that object. A lot more work but yoy will be
able to track multiple windows of the same book,
template, chart etc.


-----Original Message-----
Hi all,
I am trying to process a function when a workbook open.
I put my code in Workbook.Open and Workbook.Activate
event, but it only works in a .xls file but doesn't
in .xlt file.

Does any one know how to process a function when a
template file is opened. THanks for any
answer/suggestion.

John.
.



All times are GMT +1. The time now is 11:45 PM.

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