Design Mode in Word 2007 and Word 2010: How to detect it and turn it on and off
Word 2007 and Word 2010 have a 'Design mode' button on the Developer tab. It's used to edit content controls. As a developer, I may want to know whether the document is in design mode turn design mode...
View ArticleWord VBA resources
A list of tools, add-ins, websites and books for Word developers. Most of these resources apply whether you are using VBA, .NET or other languages to access the Word object model. Tools MZ-Tools by...
View ArticleReturning a value after .Show-ing a built-in Word dialog box
Word allows us to use most of its built-in dialog boxes. To do that, we use something like Word.Application.Dialogs(wdDialogFilePageSetup).Show The .Show method is supposed to return a value to tell...
View ArticleHow to detect whether a Word COM Add-in is connected and, if not, load it
Some background Since Word 2000, Word has been able to work with COM Add-ins. A COM Add-in may be installed for the current user or for all users of the machine. If the add-in is installed for the...
View ArticleCreating images to customize the Ribbon in Word 2007 and Word 2010
The best images to use as controls (eg buttons) on the Ribbon are: 32 x 32 pixels and 16 x 16 pixels in .png format with a transparent background using generally muted colours. For time immemorial,...
View ArticleWord.Application.Options.LabelSmartTags doesn’t work in Word 2010. But there...
The problem In Word 2010, what were known as Smart Tag recognizers have been re-labelled as Actions. At the same time that it got a new name, the feature has been deprecated. Microsoft advises: Text is...
View ArticleSelecting or referring to a page in the Word object model
Q. I'd like to cycle through all the pages in my Word document and <perform this bit of processing> on each page. How do I do this? A. You can't. Word is not page layout software. It's a word...
View Article5 Curiosities about Placeholders in Word Content Controls (for developers)
Content Controls are an excellent way to provide 'prompt' text for users. The 'prompt' text (eg "Click here and type the manager's name" or "Choose the date of your report") is provided through a...
View ArticleHow to create a ribbon button to show the Signatures pane in Word
The aim I want to create a button on a customized ribbon in Microsoft Word to display the Signatures pane. The problem: using idMso FileViewDigitalSignatures doesn't work Microsoft provides a download...
View ArticleHow to create a ribbon button to show the ‘More Windows’ dialog in Word
The aim The View menu in Word includes the 'Switch windows' command, but it is limited to showing 9 documents. The 'More windows' dialog is sometimes more convenient, because it shows all open...
View Article
More Pages to Explore .....