Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I read "somewhere" that a workbook with a user definied function will need some sort of recompilation the first time it is opened with an other Excel version. I think the source mentioned that this was needed for performance optimization. Does somebody have more information/urls on this? I've searched and searched but can't find the source again ;o( We experience slow opening of a file with an heavy used UDF before any VBA code is run. Thank you. Nico Saey |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If it needs it, it will be done automatically.
-- Regards, Tom Ogilvy "Nico" wrote: Hello, I read "somewhere" that a workbook with a user definied function will need some sort of recompilation the first time it is opened with an other Excel version. I think the source mentioned that this was needed for performance optimization. Does somebody have more information/urls on this? I've searched and searched but can't find the source again ;o( We experience slow opening of a file with an heavy used UDF before any VBA code is run. Thank you. Nico Saey |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom,
I also got some information on this url http://www.decisionmodels.com/calcsecretsj.htm But I'm still looking for some Microsoft details on this subject ;o) Question example: If a save the workbook with the Excel 11 latest build version under what conditions will the 'lower' Excel 11 build versions (and Excel 10 other build versions) recalculate my workbook? I understand that it will happen automatically and normally I like things to be automatically. But in this case I would like to get one file saved that will not need to be recompiled through all Excel versions. ;o) PS I don't know if it is the same sort of compilation that happens when you click on Debug Compile or it is some sort of Application.CalculateFull that happens in the Excel internals on the opening of the file between Excel versions. Greetings, Nico Tom Ogilvy schreef: If it needs it, it will be done automatically. -- Regards, Tom Ogilvy "Nico" wrote: Hello, I read "somewhere" that a workbook with a user definied function will need some sort of recompilation the first time it is opened with an other Excel version. I think the source mentioned that this was needed for performance optimization. Does somebody have more information/urls on this? I've searched and searched but can't find the source again ;o( We experience slow opening of a file with an heavy used UDF before any VBA code is run. Thank you. Nico Saey |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It may be both.
Excel 2002 instituted a different approach to recalculating that I would assume would require a total recalculation. When moving between versions, I believe there is a recalculation when opening anyway (just for that reason). Compile has to do with converting source code into opcode for interpretation. I doubt you will come up with this "optimized" workbook or that it is even necessary. Decisionmodels has the most information I have seen on caclucation beyond what is in MSDN/Knowledge base. But then again, I haven't done a lot of looking. -- Regards, Tom Ogilvy "Nico" wrote: Thanks Tom, I also got some information on this url http://www.decisionmodels.com/calcsecretsj.htm But I'm still looking for some Microsoft details on this subject ;o) Question example: If a save the workbook with the Excel 11 latest build version under what conditions will the 'lower' Excel 11 build versions (and Excel 10 other build versions) recalculate my workbook? I understand that it will happen automatically and normally I like things to be automatically. But in this case I would like to get one file saved that will not need to be recompiled through all Excel versions. ;o) PS I don't know if it is the same sort of compilation that happens when you click on Debug Compile or it is some sort of Application.CalculateFull that happens in the Excel internals on the opening of the file between Excel versions. Greetings, Nico Tom Ogilvy schreef: If it needs it, it will be done automatically. -- Regards, Tom Ogilvy "Nico" wrote: Hello, I read "somewhere" that a workbook with a user definied function will need some sort of recompilation the first time it is opened with an other Excel version. I think the source mentioned that this was needed for performance optimization. Does somebody have more information/urls on this? I've searched and searched but can't find the source again ;o( We experience slow opening of a file with an heavy used UDF before any VBA code is run. Thank you. Nico Saey |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
"Running Virus Scan" ....On Opening Excel Workbook | Excel Discussion (Misc queries) | |||
Excel 2003 VBA - "Maximizing" Window & "Calculating" Workbook | Excel Programming | |||
How do I automatically "enable Macros" when opening a workbook | Excel Programming | |||
Emptying cache or "history" before opening workbook | Excel Programming |