Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Jennifer Murphy" wrote:
It is my understanding that I should use the ByVal keyword if I am planning to modify the parameter. Is that correct? It depends on your objectives. Yes, use ByVal if you do not want the caller to see the change. No, use ByRef (default) if you want the caller to see the change. The latter is not unusual. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ByRef vs ByVal | Excel Programming | |||
ByRef strangeness | Excel Programming | |||
byref errors | Excel Programming | |||
ByRef question | Excel Programming | |||
Is ByVal always better if ByRef isn't necessary | Excel Programming |