Application Tips Office Productivity

Updating Fields in Word

imgresTo Update Before Printing (Word 2010)

Select File ▸ Options ▸ Display, then select the checkbox “Update fields before printing”

Macro to Update Fields

This macro can be attached to a function key or hotkey for convenience.

Sub UpdateAllFields()
End Sub

Update Fields on Document Open

From the Visual Basic Editor and open the project that corresponds to the document.

Withing the Microsoft Word Objects branch for the dicument, double-click the ThisDocument object.

In the code window that appears, select Document in the object list and select Open in the event list.

Add the following code statement to the Document_Open() stub that displays (you may need to add the Document_Open function, otherwise uy :


AutoOpen/AutoExec Macros

These macros are another approach to automatically updating fields.  For mor info on how they work see this Microsoft article.

The sample macro below updates fields on open, and whenever the document is printed.

Sub AutoOpen()
    With Options
        .UpdateFieldsAtPrint = True
    End With
End Sub
Application Tips

Pasting content from Microsoft Word to WordPress

Pasting content directly from Microsoft Word can create serious formatting problems, but there is a trick to avoid it.

When pasting from MS Word, click the  button at the end of the editor toolbar in WordPress to open out the second row of the toolbar.

Then click the "Paste from Word" button  on the second row which gives you a pop-up to paste the content into.

This pastes it in without all the MS Word codes.

Most alternate text editors in WordPress, as well as those in Joomla, seem to have an equivalent "Paste from Word" button.