#VALUE errors
Posted by gary on January 29, 2002 9:26 AM
I'm lost, I'm trying to set the contents of a cell in vba
Here's the function:
Public Function aa()
Cells(5, 1).Value = 999
aa = 0
End Function
It always returns a #VALUE error when called.
If I comment out the Calls statement, it returns 0
this is excel 2000
I've tried samples directly from the help files, and always get the #VALUE error when trying to set the contents of a cell
Gary