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: 5
Default Call by value(and not be reference)!

While debugging the macros, I could observe that, all the arguments are
passed by reference to a function. Is there a possibility to call by
value?
Basically, I want to retain the value of a variable before and after
the function call. The function can take a copy and modify the value of
it, but it should not change the value of the originally passed
variable. How exactly it can be done?

 
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
Reference Call scott Excel Discussion (Misc queries) 2 January 19th 07 08:36 PM
Reference Call scott Excel Discussion (Misc queries) 0 January 19th 07 08:29 PM
Reference Call cory Excel Discussion (Misc queries) 0 January 19th 07 08:22 PM
Reference Call scott Excel Discussion (Misc queries) 0 January 19th 07 08:14 PM
Call a sheet name by reference to a Cell need help tpetyt Excel Programming 2 November 22nd 04 02:50 PM


All times are GMT +1. The time now is 03:41 PM.

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"