Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please ignore my post.
I declared the argument as 'ByVal' and it started working as I wanted. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reference Call | Excel Discussion (Misc queries) | |||
Reference Call | Excel Discussion (Misc queries) | |||
Reference Call | Excel Discussion (Misc queries) | |||
Reference Call | Excel Discussion (Misc queries) | |||
Call a sheet name by reference to a Cell need help | Excel Programming |