07-15-2010, 04:48 PM
I am a new programmer and am having a little bit of a problem with an IF statement.
What I want to do is set the str s1 to recognize one cell in excel and determine whether or not its F or M and then activate a two different child windows according to the variable.
Ex:
str s1
if s1="F"
__act child(1)
__key V
else
__act child(2)
__key V
Do I have to add any commands to s1 to get it to recognize the cell?
What I want to do is set the str s1 to recognize one cell in excel and determine whether or not its F or M and then activate a two different child windows according to the variable.
Ex:
str s1
if s1="F"
__act child(1)
__key V
else
__act child(2)
__key V
Do I have to add any commands to s1 to get it to recognize the cell?