Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

I am running an If Then command to compare the values from my Excel Data sheet and a variable I have

$
0
0

I am running an If... Then... command to compare a value extracted from my Excel Data sheet with a variable I have declared and set to the content of a combobox (VB6).

 

The comparison is constantly failing even though when I 'eyeball' them, the 2 values are identical.

 

Should I trim both values? I noticed there is a VB declaration for a TRIM method. Can I just call this or must I declare it in a functions library which I would call from my script?


Viewing all articles
Browse latest Browse all 21061

Trending Articles