Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
byref errors
Hi,
I have a function that accepts the following parameter: Function Foo(wsheet as Worksheet) .... .... End Function when I call the function as in the following: Foo(wksheet) I get a ByRef error. Why can I send worksheet as a parameter? I think it has something to do with references. The only way I see out of this is to make the variable global, which offcourse is bad. How can this be done? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Throwing Circular Errors When No Errors Exist | Excel Worksheet Functions | |||
Unresolved Errors in IF Statements - Errors do not show in results | Excel Worksheet Functions | |||
ByRef question | Excel Programming | |||
ByRef not passing address | Excel Programming | |||
Is ByVal always better if ByRef isn't necessary | Excel Programming |