PhoenixJoe
Electrical
- Aug 30, 2007
- 6
I'm a newbie to Visual Basic on Excel. I wanted to do a very simple task, and have wasted a couple hours trying. I'm hoping somebody can help. Here is a very simple function, but I get #Value error when I use it.
Function Test()
' The following doesn't work - I get a # Value error: WHY
[A2].Value = 34
' The following does work:
Test = [B2].Value
End Function
Function Test()
' The following doesn't work - I get a # Value error: WHY
[A2].Value = 34
' The following does work:
Test = [B2].Value
End Function