Looking for field name regarding "Use Balloons (Print and Web Layout)"

J

Jay Freedman

Fritz said:
hi,

in order to run a macro i am looking for field name regarding "use
balloons (print and web layout)". however
http://www.microsoft.com/technet/scriptcenter/topics/office/manage/wordtc.mspx
is not showing it.

anyone can help me out? is ShowRevisionsAndComments the right one?

thanks in advance, fritz

You need to set the value of the MarkupMode member of a View object
(http://msdn.microsoft.com/en-us/library/bb243381.aspx). For example,

ActiveWindow.View.MarkupMode = wdBalloonRevisions

If you're using the script from the page you cited, the code would be

objView.MarkupMode = wdBalloonRevisions

because objView is already set to objWord.ActiveDocument.ActiveWindow.View.

The valid values of MarkupMode are the members of the wdRevisionsMode
enumeration (http://msdn.microsoft.com/en-us/library/bb238138.aspx),
wdBalloonRevisions = 0 and wdInLineRevisions = 1.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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