Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Workbook with UDF needs "recompile" after opening with other Excel version

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Workbook with UDF needs "recompile" after opening with other Excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Workbook with UDF needs "recompile" after opening with other Excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Workbook with UDF needs "recompile" after opening with other E

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
"Running Virus Scan" ....On Opening Excel Workbook Dermot Excel Discussion (Misc queries) 1 August 30th 07 09:17 PM
Excel 2003 VBA - "Maximizing" Window & "Calculating" Workbook JingleRock Excel Programming 0 April 25th 06 05:04 AM
How do I automatically "enable Macros" when opening a workbook RobertWNewson Excel Programming 1 April 11th 06 05:51 PM
Emptying cache or "history" before opening workbook windsurferLA Excel Programming 2 February 15th 05 06:30 PM


All times are GMT +1. The time now is 02:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"