Maintaining visible Window portion in Word 2007

M

Mike McGuire

My company has some Word 2003 macros that add meta data to our
documents via inline text and markup. Sometimes users wish to see
this meta data to track it, edit it, or simply view it. At other
times it is nice to hide the meta data to view the primary text
cleanly. In order to do this we use such methods as toggling
ActiveDocument.ActiveWindow.View.ShowRevisionsAndComments and toggling
the hidden attribute of certain text styles via custom toolbar
buttons. This works great in Word 2003. Whatever is at the top of
the Word window stays at the top of the Word window after these
toggling events occur. The user never loses his position in the
document.

In Word 2007 when these toggling events occur, Word maintains its
document page position. In other words, if the visible portion of the
Word Window was showing the bottom half of page 43 before the hiding
the meta data, afterwards Words is still showing the bottom half of
page 43. But since there could have been several pages worth of meta
data hidden, the visibly displayed text is now content from several
pages later.

This problem is very annoying. Why would one want to maintain page
position and not content position? How can I make Word 2007 act like
Word 2003 in this instance?

Thanks,
Mike
 

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