S
Simon McInnes
Hi,
I need to work out (using the api) which text column the cursor is currently
in.
I have tried Selection.Range.Information(wdStartOfRangeColumnNumber) but
this always gives the value -1 (it only seems to work correctly for table
columns and not text columns). How can I do this? I am using Word
v11.8026.8028.
thanks.
Simon
Steps
Create a blank document.
Change section to two column
Insert a column break and move the insertion point to the second column
Find out the current column number using the api
I need to work out (using the api) which text column the cursor is currently
in.
I have tried Selection.Range.Information(wdStartOfRangeColumnNumber) but
this always gives the value -1 (it only seems to work correctly for table
columns and not text columns). How can I do this? I am using Word
v11.8026.8028.
thanks.
Simon
Steps
Create a blank document.
Change section to two column
Insert a column break and move the insertion point to the second column
Find out the current column number using the api