O
Owen
I am having trouble working out the code to test the current cursor location
against an IF statement.
For example, i am trying to code the following:
"IF the cursor location is located in Table(6) , Column(2) of the active
document, THEN.....ELSE.....".
I am ok with the coding of my THEN/ELSE statements, its the IF statement i
need help with.
I have tried the statement below which is not working:
if selection.tables(6).columns(2)=true, then....
Would be grateful if anyone can show me why i am going wrong.
Thanks
against an IF statement.
For example, i am trying to code the following:
"IF the cursor location is located in Table(6) , Column(2) of the active
document, THEN.....ELSE.....".
I am ok with the coding of my THEN/ELSE statements, its the IF statement i
need help with.
I have tried the statement below which is not working:
if selection.tables(6).columns(2)=true, then....
Would be grateful if anyone can show me why i am going wrong.
Thanks