LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default More effective code

Hi everybody,
I just wonder which way is more effective:

If I have a function which I use many times in a procedure is it better
to call the functiom each time I need it or to declare a brand-new
local variable and set it equal to the function result in the beginning
of my code?
The result of the function is not changed during this particular
procedure.

Thanks for answer.

 
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
What would be the most effective way to do this? Joan Pham Excel Worksheet Functions 5 August 3rd 09 09:40 PM
More effective than DAYS360? fgwiii[_2_] Excel Worksheet Functions 1 April 28th 08 03:32 PM
effective gross income Ror Excel Worksheet Functions 1 March 10th 06 08:15 AM
ScreenUpdating not effective Boaz Michaely Excel Programming 1 November 11th 03 07:50 PM
A More Effective Way of Using PasteSpecial? CalumMurdo Kennedy Excel Programming 7 October 30th 03 02:49 AM


All times are GMT +1. The time now is 09:35 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"