Hi All
I do a lot of VBA macros in Word and constantly need to position text, pictures, textboxes etc at specific locations on the page.
Is there anything in the Word object model that provides something like "absolute x,y" position on the page. I know that some classes have positions but what about plain old text?
For example, I need to create a macro that will expand a series of one line paragraphs to form a box with precisely controlled left and right edges. Justify only works for paragraphs with many lines. The paragraphs in the example only have one line each. I need the macro to use left and right edge positions so that the macro knows when to stop adding points between the chars when the edges exactly line up.
By the way, the text in questions is in a textbox.
Any suggestions will be appreciated
EllyBelly
I do a lot of VBA macros in Word and constantly need to position text, pictures, textboxes etc at specific locations on the page.
Is there anything in the Word object model that provides something like "absolute x,y" position on the page. I know that some classes have positions but what about plain old text?
For example, I need to create a macro that will expand a series of one line paragraphs to form a box with precisely controlled left and right edges. Justify only works for paragraphs with many lines. The paragraphs in the example only have one line each. I need the macro to use left and right edge positions so that the macro knows when to stop adding points between the chars when the edges exactly line up.
By the way, the text in questions is in a textbox.
Any suggestions will be appreciated
EllyBelly