UDFs in PERSONAL.XLSB are not being recognized. I put the following VBA code into PERSONAL.XLSB and in the spreadsheet entered "=prnt(2)", and the result is #NAME?". I then created a VBA module within the open spreadsheet, copied the code into it, and it works just fine.
The PERSONAL.XLSB file is trusted, and is not a disabled add-in.
PLEASE HELP!
The PERSONAL.XLSB file is trusted, and is not a disabled add-in.
PLEASE HELP!
VBA Code:
Function PRNT(i As Integer)
'
PRNT = i + 1
End Function
Sub test()
i = PRNT(3)
MsgBox ("result is " & i)
End Sub