What is the VBA equivalent of "WordBasic.ShowFormatting"?

D

Dave Jenkins

I think I've seen the answer to that question elsewhere, but danged if I can
find it today. I'm trying to turn off the display of the formatting balloons
that's set using the Markup menu in the Tracking group on the Reviewing tab
in Word 2007.

As a related question, how does one code a macro (I'll be saving this file
as a .doc for backward compatibility) that will run when this document is
opened? Is it a sub named "AutoOpen"? "Auto_Open"? I don't seem to be able
to do that ...

Thanks!
 
D

Dave Jenkins

Actually, I misstated the problem: I really don't want to issue the
"WordBasic.ShowFormatting" (that does seems to work ok) -- I want to issue
whatever its *opposite* is - I want something like
"WordBasic.NoShowFormatting." I figured that if I could get the VBA
equivalent of ShowFormatting, then I could figure out how to turn it off.
But I can't.
 
D

Dave Jenkins

OK - I think I've answered my own questions:

1. It's "AutoOpen"
2. I can use ActiveDocument.ActiveWindow.View.ShowFormatChanges = msoFalse
to get rid of the formatting balloons.

Thanks.
 

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