Thanks mate. I have been looking for this function for a long time.
"raypayette" wrote:
Sub test()
MsgBox Asc("a")
End Sub
will display 97 that is the ASCII integer for "a".
Do NOT do this in the spreadsheet: =ASC("a")
--
raypayette
------------------------------------------------------------------------
raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569
View this thread: http://www.excelforum.com/showthread...hreadid=563544