If y = x Like "x?" Then
if y like (x & "?") then
y = "255135k"
x = 255135
--
Regards
Tom Ogilvy
"TEAMRacing" wrote in message
...
'I am trying to compare two numbers. I want excel to
recognize "255135" to "255135k" I can't seem to get this
to work. Any help would be appreciated. Thanks
x = UCase(ActiveCell.Value)
ActiveCell.Offset(1, 0).Select
y = UCase(ActiveCell.Value)
If y = x Like "x?" Then
ActiveCell.Offset(0, 1).Select
|