In Word 2010 I have a landscape document which has three equal width columns on page 1, and 2 columns on page 2, the firsty being 1/3 of the width, the second being 2/3 of the width.
I have a variable (in terms of number of lines) amount of text in the first column of page 2, and I wish to insert three lines of text at the bottom of the first column on page 2, in a formatted box.
My plan was to identify how many lines are left in column 1 by inserting blank lines (vbLf) until the column number changes.
My problem is that the only references I can find to columns all seem to relate to tables, not to the current page.
Does anyone know how I can access the current page's current column number (if such a thing exists).
I've tried various "promising" methods, e.g.
Code:
'
' Code snippet
'
Dim grng As Word.Range
Dim intColNo As Integer
'
Set grng = ActiveDocument.Content
grng.Collapse Direction:=wdCollapseEnd
'The next line fails, telling me I'm not in a Table.
intColNo = grng.Columns.Count
'The next line always returns -1.
intColNo = grng.Information(wdEndOfRangeColumnNumber)
but I can't find one that works.
Can any kind soul help?