The image says it all!
Your function returns a Boolean, MsgBox expects a string.
Ah!
Thank you! I wasn’t sure what part was not correct.
I try again…!
This is one way to do it! Thank you for helping me in the right direction!
[code]
DIM bolVal as boolean
bolVal = decodeKey (“23423423423423”)
IF bolVal = TRUE THEN
msgBox “true”
ELSE
msgBox “False”
END IF [/code]
msgbox str(decodeKey ("23423423423423"))
Nice… It’s my brain that need a serious update in thinking!!
Your method works too. It is just a tad longer