Disable Bookmarks from an application

S

snorris

I have an application the is written in C++ using MFC. I am trying to perform
the following "Make sure the Bookmarks option located in the View section of
the Options dialog box found in the Tools drop down menu bar of Microsoft
Word is disabled (i.e., no checkmark in the box)." from my application.

Does anybody know how to do this? Or if it is even possible.
 
J

Jay Freedman

snorris said:
I have an application the is written in C++ using MFC. I am trying to
perform the following "Make sure the Bookmarks option located in the
View section of the Options dialog box found in the Tools drop down
menu bar of Microsoft Word is disabled (i.e., no checkmark in the
box)." from my application.

Does anybody know how to do this? Or if it is even possible.

The code you need is

ActiveWindow.View.ShowBookmarks = False

This is independently controlled for each window in the Windows collection.
 

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