Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
If Statement (For Cursor Location)
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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cursor location when open a new document | Microsoft Word Help | |||
Cursor location | Microsoft Word Help | |||
How do I save the cursor location? | Microsoft Word Help | |||
Template Cursor Location | Microsoft Word Help | |||
Cursor location? | Page Layout |