Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there anyway in a macro that I can disable recalculation of UDF upon
opening a workbook in automatic calculation mode? Thanks. Teresa |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sure. In the Workbook_Open event, set a variable to True. In the UDF, test
if the same variable is TRUE, if so, exit the UDF. -- Julian Milano "TY" wrote in message ... Is there anyway in a macro that I can disable recalculation of UDF upon opening a workbook in automatic calculation mode? Thanks. Teresa |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Julian,
That will not work. In automatic calculation mode, Workbook_Open event happens after UDF being invoked. Thanks. Teresa "Julian Milano" wrote in message ... Sure. In the Workbook_Open event, set a variable to True. In the UDF, test if the same variable is TRUE, if so, exit the UDF. -- Julian Milano "TY" wrote in message ... Is there anyway in a macro that I can disable recalculation of UDF upon opening a workbook in automatic calculation mode? Thanks. Teresa |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Set the calculation to manual. In the Workbook_Open, set it back to Auto!
-- Julian Milano "TY" wrote in message .. . Hi Julian, That will not work. In automatic calculation mode, Workbook_Open event happens after UDF being invoked. Thanks. Teresa "Julian Milano" wrote in message ... Sure. In the Workbook_Open event, set a variable to True. In the UDF, test if the same variable is TRUE, if so, exit the UDF. -- Julian Milano "TY" wrote in message ... Is there anyway in a macro that I can disable recalculation of UDF upon opening a workbook in automatic calculation mode? Thanks. Teresa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable System Alerts on File Open | Excel Discussion (Misc queries) | |||
Disable formatting on csv open? | Excel Discussion (Misc queries) | |||
How can I disable macros after the initial open? | Excel Discussion (Misc queries) | |||
Open Worbook and Disable Macros | Excel Discussion (Misc queries) | |||
How to disable 'Update alert' when open a spreadsheet has link to other XLS | Excel Programming |