help with VB function please
Posted by Bob Findlay on June 04, 2001 1:39 AM
Hi
I have the following code
Public Function bobmode(ByVal ref As Range, Optional ref2 As Variant = Null, Optional ref3 As Variant = Null)
For Each cell In ref
do something
Next
this works fine if I pass a normal cell reference, but if I pass a 3-D reference, it doesn't work.
any idea why a 3-d ref should be different?
how can I code it to cope with a 3-d reference?
thanks