I have a need to verify some user input is hexadecimal (0-9 and A-F).
Public Function IsHex(sInput As String) As Boolean
Dim lResult As Long
On Error Resume Next
lResult = CLng("&H" & sInput)
IsHex = sInput = "0" Or lResult > [...]
Read More...
Read the complete post at http://www.dailydoseofexcel.com/archives/2010/03/01/ishex-function/
Posted
Mar 01 2010, 05:18 PM
by
Daily Dose of Excel