I would like to know if it is possible to convert the following strings types into
a long type:
vbRed convert to 255
vbBlue convert 16711680
vbGreen convert 65280
vbYellow convert 65535
I tried but it converts the vbRed value to 118:
VB Code:
Dim lngTest as Long lngtest = CLng(Asc("vbRed"))
Thanks!




Reply With Quote