ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Need to know a workbook is just open (https://www.excelbanter.com/excel-programming/335068-need-know-workbook-just-open.html)

Who I Am

Need to know a workbook is just open
 
We use a sophiscated program to munipulate data. At some points during
the munnipulation process, if we click a button, we get a Excel
spreadsheet from which we get certain information.

My question is how a macro that resides in my Personal.xls knows that a
workbook is open?

What I need is that after the book is open, my macro will do something
in it, like adjust column width, etc.

Thanks

HZ


ben

Need to know a workbook is just open
 
see this page

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

ben

--
When you lose your mind, you free your life.


"Who I Am" wrote:

We use a sophiscated program to munipulate data. At some points during
the munnipulation process, if we click a button, we get a Excel
spreadsheet from which we get certain information.

My question is how a macro that resides in my Personal.xls knows that a
workbook is open?

What I need is that after the book is open, my macro will do something
in it, like adjust column width, etc.

Thanks

HZ




All times are GMT +1. The time now is 03:58 AM.

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