I've defined a simple function in the VB editor:
Function Test412() As Integer
Test412 = 412
End Function
When I try to call it in a cell as =Test412 or =Test412() or =Sheet1.Test412() or any other variant I can think of, I get "undefined function". I've tried defining the function at the sheet level, the workbook level, etc.
I must be an idiot, but can't get this simple call-out to work! Any help would be appreciated.
Function Test412() As Integer
Test412 = 412
End Function
When I try to call it in a cell as =Test412 or =Test412() or =Sheet1.Test412() or any other variant I can think of, I get "undefined function". I've tried defining the function at the sheet level, the workbook level, etc.
I must be an idiot, but can't get this simple call-out to work! Any help would be appreciated.