Detecting the edge of a page in word 2002

G

gkb_cardiff

Hello.

I am writing some VB.NET code that uses the word interop.

I need to put some code together that will detect when a line of text
being written into a word document hits the end of the page – I.E the
line wraps to the next line on the page.

Is there a way to do this?

Any code snippets posted would be useful.
 
Top