Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
So, when a user opens my Excel file, my Visual Basic script
is going to automatically fill the cells on the current sheet with predetermined values.... My question is, does it make a difference if I place my auto fill code into the Workbook_Activate() function as opposed to the Workbook_Open() function?? I know that Workbook_Open() gets called before Workbook_Activate()....so does it really matter WHERE I place my initilization/auto fill code?? Thank you |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you put it in the WB Open event, it only runs that one time to autofill
the cells. But if yoiu use the Activate event, it will run every time you return to that workbook from another file triggering the activate event. Other than that it probably doesn't matter too much. "Robert Crandal" wrote in message ... So, when a user opens my Excel file, my Visual Basic script is going to automatically fill the cells on the current sheet with predetermined values.... My question is, does it make a difference if I place my auto fill code into the Workbook_Activate() function as opposed to the Workbook_Open() function?? I know that Workbook_Open() gets called before Workbook_Activate()....so does it really matter WHERE I place my initilization/auto fill code?? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable Workbook_Activate inside another macro... | Excel Programming | |||
Problem with Workbook_Activate event | Excel Programming | |||
Workbook_Activate not triggered by Alt+Tab | Excel Programming | |||
Manually call Workbook_Activate procedure | Excel Programming | |||
Workbook_Activate question | Excel Programming |