I can insert a text box into a Word document using the code below:
Dim opProcedures As Word.Shape
opProcedures = oDoc.Shapes.AddTextbox(Microsoft.Office.Core.MsoTextOrientation.msoTextOrientationHorizontal, 0, 0, 456.75, 24.75)
opProcedures.TextFrame.TextRange.Text = "Operational Procedures"
This adds a text box to the first page of the document, however even when I change the first (top) parameter, I cannot move the text box to the second page (only lower to the 1st page, any larger values ββthan the height of the first page and disappear).
How can I get a text box on the second page of a document?
source
share