Detect changes in word document using VBA

J

Jon Read

Hi,
I'm trying to restrict users typing into a section on the first page of my document. I don't want the section to run over to page 2.

The only way I can think of going about this is to monitor the ComputeStatistics(wdStatisticPages) property to see if it changes, but I can't seem to tie an event in to this.

If any one has any suggestions about how to go about this or a different approach, that would be great.

Look forward to your responses.





EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
 
M

macropod

Hi Jon,

If you set up the area within which the users may type as a (borderless) table cell of fixed dimensions, the users will be unable to
cause the text to flow over to the next page, no matter how much they type. All that will happen is the extra text will be hidden by
the cell boundaries.

--
Cheers
macropod
[MVP - Microsoft Word]


in message news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top