Archive for February, 2014

Since the release of Word 2013 we’ve been seeing sporadic complaints in the Word forum from developers that the selection highlighting disappears after their code executes. Only yesterday did someone post steps to reproduce the issue that worked consistently.

It turns out that this is, indeed, “unexpected behavior”. Apparently the screen redraw isn’t firing as it should.

There is a workaround, although it’s not ideal as it causes some screen flicker:

The Application.ScreenRefresh method will make the selection highlighting visible, again.

Changing the zoom factor should also work.

Comments 2 Comments »

Until the release of Office 2013 and all the new information and hype about the “Apps for Office” developer interfaces, there was a useful page on MSDN that collected links to all relevant information concerning developing for the Ribbon and Backstage (http://msdn.microsoft.com/en-us/office/aa905530.aspx), also known as the “Office Fluent UI”.

For a number of months you could still find the link, but it was redirected to a page about the new technology, containing no information whatsoever about the Ribbon. Recently, the old page doesn’t show up any more in internet searches, so only those of us with old “Favorites” or bookmarks to the link collection get to enjoy this frustration. But this is no help at all to the developer unfamiliar with what documentation is available nor any idea where to search for it.

In my work as forum moderator I constantly need to refer to, and refer people to, Ribbon documentation. So I’ve collected all the useful links from that page and posted them in the General Office Developer forum here.

I’ve tried to remove any links that are no longer active, but I may have missed some. So if anyone comes across a problem in that listing, please leave a comment here, or in the forum.

(And I also apologize for the lousy formatting of the post. The forum software doesn’t “like” it and refuses to use the correct spacing and bold formatting )

Comments No Comments »

Once again, a forum discussion has brought to light something new and useful to know when working professionally with Word.

When someone asks how to display different content in the footer for the last page, only, the recommended approach since time immemorial is to use an IF field. The If field tests whether the current page number is also the last page number. When that’s the case, different content is displayed. Basic instructions on how to set this up can be found on the Word MVPs FAQ site. It’s not always simple to set up, but it works.

Except in this case, it didn’t… Read the rest of this entry »

Comments No Comments »