Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Lars.
"Lars Uffmann" wrote: Sprinks wrote: Function GetMeansResult(Index As Integer, X As Single) Change that to Function GetMeansResult(ByVal Index As Integer, ByVal X As Single) and you're fine. It's an annoying and most idiotic behaviour of VB to automatically assume (and demand) all parameters to a function or sub to be passed by reference, unless defined as ByVal. HTH, Lars |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ByRef Argument Type mismatch | Excel Programming | |||
ByRef argument type mismatch when passing dictionary object | Excel Programming | |||
HELP "ByRef Argument Type Mismatch" | Excel Programming | |||
"ByRef argument type mismatch" Error | Excel Programming | |||
ByRef argument type mismatch error? | Excel Programming |