Archive for the ‘Word’ Category

h1

Word: Quickly moving between headers and footers

November 3, 2009

Scenario

You have a long document, or a large one filled with lots of big images, a mix of landscape and portrait pages, lots of section breaks, etc. You need to do stuff in the headers and footers (add/remove text, shift tabs, insert page numbers, adjust page margins etc.), but skipping from one header/footer to the next takes longer than you’d expected.

Solution

Hide the main document while you’re working in the headers/footers. You should find that you can skip between them really quickly once you do that. Turn on the document display after you’ve finished making your header/footer changes.

Here’s how:

Word 2003

  1. Double-click in the header or footer to open it and display the Header Footer toolbar.

    Word 2003 Header Footer toolbar

    Word 2003 Header Footer toolbar

  2. Click the Show/Hide Document Text icon to hide the main body of the document from view.

    Show/Hide Document Text icon

    Show/Hide Document Text icon

  3. Use the ’skip’ and ’switch’ icons to move backwards and forwards through the headers and footers, and to quickly switch from a section’s header to its footer and back again.

    Skip and switch icons

    Skip and switch icons

  4. When you’ve finished making your changes to the headers/footers, click the Show/Hide Document Text icon again, then return to your main document.

Word 2007

  1. Double-click in the header or footer to open it and display the Header Footer Tools > Design tab.

    Word 2007: Header Footer Tools > Design tab

    Word 2007: Header Footer Tools > Design tab

  2. In the Options group, clear the Show Document Text check box icon to hide the main body of the document from view.
  3. Use the Navigation group icons to move backwards and forwards through the headers and footers, and to quickly switch from a section’s header to its footer and back again.
  4. When you’ve finished making your changes to the headers/footers, select the Show Document Text check box, then click the Close Header and Footer icon to return to your main document.
You can buy me a coffee if this tip helped you Has this tip helped you? saved you time? saved your skin? You can thank me by clicking on the cup and buying me a coffee. (An E-Junkie shopping cart page will open where you can pay for my coffee via PayPal.)
h1

Word: Superscripts and subscripts

October 29, 2009

Here are two quick keyboard shortcuts for formatting selected text as superscripts or subscripts:

  • Superscript: Ctrl+Shift+= (e.g. ft3)
  • Subscript: Ctrl+= (e.g. H2O)

See also:

[Link last checked September 2009]

You can buy me a coffee if this tip helped you Has this tip helped you? saved you time? saved your skin? You can thank me by clicking on the cup and buying me a coffee. (An E-Junkie shopping cart page will open where you can pay for my coffee via PayPal.)
h1

Free quick reference guides to popular software applications

October 28, 2009

CustomGuide, a computer software training company, have made available — for free — their quick reference guides for all Microsoft Office products, some other Microsoft products, some Adobe products, etc.

You can get these two-page illustrated guides here: http://www.customguide.com/quick_references.htm

qrc

[Links last checked September 2009; thanks to @onemanwrites for tweeting this site]

h1

Word: Deleting a bookmark

October 20, 2009

Surprisingly, you delete a Word bookmark from the Insert menu, which I guess shouldn’t be so surprising coming from a company that gets you to click Start to shutdown your computer! ;-)

Before you delete a bookmark, you need to know if you have any in your document and if they serve a purpose (e.g. a marker for an Appendix could be a legitimate bookmark).

Viewing bookmarks

A quick and easy way to see bookmarks is to turn on the visual indicators for them:

  • Word 2003: Tools > Options > View tab, Show group, Bookmarks check box.
  • Word 2007: Office button Office button,  click Word Options then Advanced on the left. Scroll down to the Show document content section, and select the Show bookmarks check box.

(See this post for pictures of these Options windows)

Once you’ve turned on the bookmark indicators, you can identify any bookmarks in your document by the gray square brackets.

Bookmarked text is surrounded by gray square brackets

Bookmarked text is surrounded by gray square brackets

So, how do these bookmarks get there when you know you haven’t added them? Well, sometimes they seem come in when you copy/paste from another document. I don’t know how or why — I just know I’ve seen them appear under those circumstances when I’ve received a Word document that’s been written and revised by multiple authors.

Deleting unwanted bookmarks

Once you’ve found bookmarked text, you need to check if has a legitimate purpose being there and delete it if it doesn’t.

  1. Click anywhere within the bookmarked text.
  2. Open the Bookmark dialog box:
    • Word 2003: Select Insert > Bookmark from the menu.
    • Word 2007: Go to the Insert tab > Links group, then select Bookmark.
  3. Look at what’s on the automatically selected line. If it has OLE_LINK followed by a number, and the text you clicked in is just text, not an object, then you can delete the bookmark without upsetting anything in your document.
  4. Click Delete. The selected OLE_LINK line is removed from the list.
  5. Click Close.
Bookmark dialog box

Bookmark dialog box

“But I’ve still got gray brackets around the text!”

Often, the bookmark doesn’t go on the first deletion. I think this is because bookmarks have an opening and closing bracket and both must be removed.

So click in the text again (if you’re not already there), then re-open the Bookmark dialog box. The correct line for the other ‘end’ of the bookmark will be selected automatically, so you don’t need to try to figure out which one it is. Click Delete then Close. The gray brackets for that bookmark should now be gone for good.

No bookmarks around the text!

No bookmarks around the text!

Alternative method

If you notice there are lots of OLE_LINK items in the Bookmark dialog box, you can check and delete them directly from that box.

Here’s how:

  1. Select any OLE_LINK item (or other unrecognizable item) listed in the Bookmark dialog box.
  2. Click Go To. You get taken to the place in the document where the bookmark is located and the bookmarked text/object will be selected. It may be a word or a phrase, or an entire section of the document, depending upon how the bookmark was created.
  3. Make sure you’re OK with deleting the bookmarks for the selection, then click Delete. If you’re not sure, then leave them there.
  4. Repeat steps 1 to 3 for all other unrecognizable bookmarks.

Note: You can only delete one bookmark at a time.

h1

Word: Separate out macros and attach them to all documents

October 18, 2009

(Many thanks to Hamish Blunck for helping me with this tip)

I needed to make some macros available to all Word documents I opened. I wouldn’t need the macros for every document, but I would need them for many documents. The documents I was working on used different templates, so adding the macro to each template was not an option. In addition, some of the documents came from organizations where I had no access to, nor control over, their templates. Adding the macro to my Normal.dot template wasn’t an option either — if Normal.dot gets corrupted or deleted, Word will create a new one based on the ‘factory defaults’ — and I would lose all my macros.

What I wanted was a place where I could store all my handy Word macros, and I wanted the macros to be available to all my Word documents, whether I used any of them in a particular document or not.

The ‘quick and dirty’ solution for those who know about these things is to:

  1. Create and save a new blank document as a template (Word 2003: *.dot; Word 2007: *.dotm).
  2. Add your favorite macros and any keyboard assignments to this template. Save and close.
  3. Move your macros template to the Word > STARTUP folder.

For those who require more steps…

Create a new template document for your macros

  1. Create a new document in Word.
  2. Immediately save it with a meaningful name (like macros) as a Document Template file type (Word 2003: macros.dot; Word 2007: macros.dotm).

Don’t close your new template yet — you’re going to add your macros to it next.

Add your macros to your macros template

Macros can come from various places — existing Word documents or templates, the internet, or you can create or record them from scratch.

The critical thing is to locate them then add them to your new macros.dot(m) document.

  1. Open the Macros dialog box (Word 2003: Tools > Macro > Macros; Word 2007: Developer tab > Code group > Macros button).
  2. Type anything in the Macro name field (you’ll be deleting it in a moment, so don’t worry about what it is).
  3. Click Create.
  4. Delete the macro information just created, then paste your favorite macros into the Code window. Each macro should start with a Sub line and end with an End Sub line.
  5. Close the Code window and the Microsoft Visual Basic window to return to your blank document.

Add any keyboard assignments to your macros template (optional)

If you like to run your macros using the keyboard, then now is the time to assign your keyboard combinations to your macros.

  1. Go to Tools > Customize (Word 2003) OR Office button Office_2007_button > Word Options > Customize (Word 2007).
  2. Click Keyboard (Word 2003) OR Customize (Word 2007; Hint: This button is near the bottom of the window).
  3. On the Customize Keyboard dialog box, select Macros from the Categories list.
  4. Select one of your macros from the list of macros on the right.
  5. Click in the Press new shortcut key field.
  6. Press the keys you want to assign to this function.
  7. Select the template where you want to save this keyboard combination (select your new macros.dot(m) template).
  8. Click Assign.
  9. Click Close to close the Customize Keyboard dialog box.
  10. Close the Customize dialog box (Word 2003) OR the Word Options dialog (Word 2007).
  11. Save and close your macros.dot(m) document.

Move your macros template to your Word STARTUP folder

  1. Copy your macros.dot(m) template document to the clipboard.
  2. Paste it into your Word STARTUP folder; by default, it is located here:
    • Word 2003: C:\Users\<UserName>\Application Data\Microsoft\Word\STARTUP
    • Word 2007: C:\Users\<UserName>\AppData
      \Roaming\Microsoft\Word\STARTUP
  3. You can check your Startup folder location here:
    • Word 2003: Tools > Options > File Locations tab. Select Startup, then click Modify to see the full file path.
    • Word 2007: Office button Office_2007_button > Word Options > Advanced > General section (near the bottom). Click File Locations, then select Startup. Click Modify to see the full file path.

Now whenever you open a Word document or create a new one, the macros in your macros.dot(m) file will be available for you to use.

Very clever. Thanks Hamish!

h1

Word: Macro to fix Track Changes/Cross References issues

October 16, 2009

The problem

When all Track Changes have not been accepted, you may not be able to insert a cross-reference to a table or figure caption correctly. Either you see multiple instances of the caption listed in the Cross Reference dialog box, OR you don’t see the caption at all, OR you see an incorrect table/figure number for the caption (e.g. you see Table 5.1 instead of Table 1.1).

This is a known issue with Word since at least Word 2000 (see the list of resources at the end of this post).

The issue

You’d think that accepting all changes would be sufficient. And it is. But accepting all changes is not appropriate where you have a document that MUST keep Track Changes on, such as one that has to go through a regulatory compliance process through all its revisions. I have been working on these types of documents. In Word 2003, it was never really an issue – double-upped cross-references were an annoyance more than anything, and we never noticed any that were missing. But as soon as my client started using Word 2007, we came across serious issues with existing table and figure captions not being listed in the Cross Reference dialog.

A little testing showed that it was related to Track Changes being on and the acceptance of all changes in the document. Armed with that knowledge, I headed off to trusty Google to try to find a solution — a solution that allowed cross-reference and caption fields (and lists of tables and figures) to be updated without affecting other parts of the document.

Solution

Macropod (clever name!), a Microsoft Word MVP, had posted a macro that solved the problem (http://www.pcreview.co.uk/forums/thread-31716892.php). It worked great, but it dropped me into the footer and into Draft view at the end of the document when it was finished. So I posted my request to the Microsoft Word Programming Discussion Group, and the ever-helpful Macropod tweaked his/her original macro to get me what I wanted, which was to return to where I was when I ran the the macro.

Here’s Macropod’s revised macro:

Sub AcceptTrackedFields()
Dim oRng As Range ' All Range objects - includes ranges in the body, Headers , Footers & Shapes
Dim Fld As Field ' Field Object
Dim oView As Variant ' The original document view
Dim SelRng As Range ' The original selection
' Turn Off Screen Updating
Application.ScreenUpdating = False
With ActiveDocument
  oView = ActiveWindow.View.Type
  Set SelRng = Selection.Range
  ' Loop through all range objects and accept tracked changes on fields
  For Each oRng In .StoryRanges
    Do
      For Each Fld In oRng.Fields
        Fld.Select
        Selection.Range.Revisions.AcceptAll
      Next
    Set oRng = oRng.NextStoryRange
    Loop Until oRng Is Nothing
  Next
End With
With ActiveWindow
  If .View.SplitSpecial = wdPaneNone Then
    .ActivePane.View.Type = wdPrintView
  Else
    .View.Type = wdPrintView
  End If
  .View.SeekView = wdSeekMainDocument
  .View.Type = oView
  SelRng.Select
End With
' Restore Screen Updating
Application.ScreenUpdating = True
End Sub

 

Thanks heaps, Macropod! The generosity of the Microsoft MVPs and community is humbling.

Some websites that discuss this issue

[Links last checked October 2009]

 

You can buy me a coffee if this tip helped you Has this tip helped you? saved you time? saved your skin? You can thank me by clicking on the cup and buying me a coffee. (An E-Junkie shopping cart page will open where you can pay for my coffee via PayPal.)
h1

Word: Can’t add a comment

October 14, 2009

Scenario

Track Changes is turned on but you’re working in the Final mode of the document (in other words, you can’t see the balloons etc. for the tracked changes). You want to add a comment to the author so you click the Comment icon. The Comments pane displays in the lower section of the document (this is in Word 2003; I’m not sure if it works the same in Word 2007). You start typing your comment, then realize that it’s not showing or only part of it has gone in. Or, you’ve already added a comment without any problem, then realized you’ve made a typo, so you go back to fix it and now anything you type isn’t displayed.

Why?

If you look carefully, you might see a message in the status bar telling you ‘This modification is not allowed because the document is locked.’ Of course, you wonder why it’s locked — after all, you have full permission on this document.

comment02

Well, I can’t answer the ‘Why is it locked?’ question, but I suspect it has something to do with Word repaginating the document to allow for the comment balloon (as if Final Showing Markup mode was on).

Solution

Wait! That’s all you have to do — wait for Word to finish doing whatever it’s doing. After a few seconds, the message disappears and you can make the changes or finish typing your comment.

If anyone knows why this happens, and importantly, how to turn this background repagination off (yes, all the usual settings are turned off), then please feel free to add your solution to the Comments for this post.

BTW, the ONLY information that the Microsoft Support website has on this message is cryptic, to say the least: http://support.microsoft.com/kb/818852/en-us. And all the documents I’ve worked on where I had this message were NOT protected for comments or anything else.

[Links last checked September 2009]

h1

Word: Turn off pagination

October 12, 2009

If you’re working in a long or large document, Word’s background pagination can become a productivity killer. While it’s occurring, you can’t work as fast as usual, and sometimes, you can’t work at all until the paginating stops.

You can turn off this background pagination, but only in certain view modes in Word. You cannot turn it off when you are in Page Layout or Print Preview modes for example, as Word needs to repaginate to correctly display page and section breaks, as well as when printing. In these view modes, the check box to turn off Background Pagination remains checked and grayed out.

To turn off Background Pagination:

  1. Switch to Normal view (Word 2003 — shown below) or Draft view (Word 2007) by clicking the relevant icon in the bottom left corner or your document’s window.
    Word_normal_view
  2. Turn off the background pagination option:
    • Word 2003: Go to Tools > Options > General tab and clear the Background repagination check box. If it is grayed out, repeat step 1 as you aren’t in a view mode that allows background pagination to be turned off.
    • Word 2007: Click the Office button Office button, then click the Word Options button. Select Advanced on the left, then scroll down to the General area on the right. Clear the Enable Background Repagination check box.

Note: Microsoft states “Repagination in Word cannot be totally turned off. This is because Word has to repaginate the document in page layout and print preview in order to correctly display the document.” in this Support article:  http://support.microsoft.com/kb/120106. Although the Support article says it applies only to early versions of Word (Word 6.0 anyone?!), I couldn’t find a more recent one, and I suspect the same provisos still apply. The only other statement I could see about it in a quick search of the Microsoft site was this for Word 2003: “Background repagination Repaginates documents automatically as you work. This option is unavailable when you use page layout view because it works automatically in that mode and you can’t turn it off.” (http://office.microsoft.com/en-au/word/HP051895231033.aspx)

[Links last checked September 2009]

h1

Word: Use keyboard to browse text boxes

October 4, 2009

Text boxes are used by some people to control layout in a Word document; others use them to group objects together. Personally, I avoid them where I can. One of the issues that can arise with them is ’seeing’ all the ones you have.

Scenario

You’ve added a text box and removed the default border line. You haven’t added any text or an object yet, and you haven’t formatted it with a background color. You click away from the text box to do something else. A short time later you decide to fill in the text box you created a little while ago — but now you can’t see it!! There are no visual clues that it exists. So how do you find it?

Solution

What you do depends on whether you have other text boxes in the document that you *can* see. If so, use Method 1. If you can’t identify any text boxes, use Method 2.

Method 1

  1. Click inside an existing text box. What you see depends on whether you’re using Word 2003 or Word 2007:
    • Word 2003: The border has slanted lines around it.

      Word 2003 text box -- not selected

      Word 2003 text box -- in text editing mode

    • Word 2007: The border has ‘handles’ on the outside of it.

      Word 2007 text box -- not selected

      Word 2007 text box -- in text editing mode

  2. Click ON the border to select the entire text box object:
    • Word 2003: The border becomes dotted if you’ve selected it correctly.

      Word 2003 text box -- selected

      Word 2003 text box -- selected

    • Word 2007: The border ‘handles’ sit on the border of the box.

      Word 2007 text box -- selected

      Word 2007 text box -- selected

  3. Press the TAB key — each press takes you to the next text box, even the hidden ones. When you’ve found the one you want, click in it and complete your task, or click on it and delete it if you don’t want it any more.

Method 2

  1. Add a new text box:
    • Word 2003: Insert > Text Box.
    • Word 2007: Insert tab > Text group > Text box.
  2. Follow steps 2 and 3 in Method 1 (above).
  3. Delete the new text box, if it isn’t required.
h1

Word: Recover lost documents

October 1, 2009

Microsoft Help and Support (a.k.a. the Microsoft Knowledge Base [KB]) documents six methods to try if you happen to lose a Word 2007 and Word 2003 document through a Word crash, power outage etc.

Try the steps in the order listed — hopefully one of them will bring your document back from the dead. Oh, and print out the steps before you start as some of them require you to reboot your computer.

The KB article is here: http://support.microsoft.com/kb/827099

[Link last checked July 2009]