[ABC home]    [ABC Archives by Issue]   [ABC Archives by Author]  [Search]  [Privacy]

 

ABC logo
ABC Home

 

Advertise in ABC

Learn more
about
Chas Kenyon
Charles Kenyon

Read
Chas's Archives
Read Chas's Archives

Online classes
at Eclectic Academy
 Instructor led online courses at Eclectic Academy

PowerPoint to Exe
convert PowerPoint presentations to exes

Lock 'n Hide
Folder Security

Hide files and folders in Windows 9X

 

ABC ~ All 'Bout Computers
The Online Web-azine for Computer Enthusiasts
-- brought to you by
Visit Linda's Computer Stop

contents page for this issue

My Newest Book
Excel 2003 Study Guide

published by Wiley
get it at Amazon,
at Barnes & Noble,
or at Borders

 


 Support ABC

Linda's Ebooks
Ebooks on Access, Excel, Outlook, PowerPoint, Publisher, and Word

Linda's CD
Order Linda's CD and learn all of the Office programs

The Newbie Club
Learn all about computers the easy way

Online classes
at Eclectic Academy
 Instructor led online courses at Eclectic Academy

FrontLook
Add-ins
& Screen Capture


 

 
Chas' Word World
~~Charles Kyle Kenyon, J.D.

Customizing Word – Part II

~~I like the Work menu but would like something that lets me draw on my usual list of templates to create new documents - not just open existing ones.~~

~~I want to be able to put my favorite templates on a list or toolbar, just like I can the styles or fonts. I tried putting them on my Work menu, but just ended up with being able to open the templates -- not create new documents from them.~~

The Work Menu

picture of work menu

Contents:

Things we can already do without customizing Word
o       File => New
o       Start Menu Shortcuts

 Customizing Word
o       Organize Your Templates
o       Start a new Global Template
o       Make a List (and check it twice!)
o       Record a couple of short macros
o       Rename the NewMacros module
o       Create a Custom Toolbar
o       Add your macros to a new menu on your custom toolbar
o       Rename the macros to meaningful menu commands.
o       Add some button images.
o       Clean up your work area.
o       Make MyGlobal.dot into a global template.

Things we can already do without customizing Word.

Before we start moving furniture (customizing Word), lets take a look at what it is that we can already do.  These two techniques for organizing and accessing templates work as well for Excel and PowerPoint as they do for Word.

File>New

The File>New dialog lets us start a new document from any template that is stored in the User Templates folder or the Workgroup templates folder. These folders are further subdivided into tabbed sections (one tab per subfolder in either of the main templates folders).

picture of file>new dialog box

To create a new tab, create a new folder (and put at least one template in that folder). If you end up with more folders than there is room for tabs, you will have a tab appear that simply says "More..." and will give you a list of all of your folders.

picture of the "More" option

picture of the "More" tab

For more on Template folder structure and placement see Template Basics.

Use Windows Shortcuts or Mac Aliases.

Both of these environments allow the use of links to templates that open a new document based on the template rather than open the template for editing. 

picture of Start Menu with templates folder added

This technique - adding menus to the Start Menu - is simple and straightforward. In Windows, right-click on the "Start" button and select "Open." Right-Click in the resulting window and pick New => Folder.

picture of Start Menu

Give that folder any name you want; in the sample, it was named "Template Favorites." In the folder inserted in the Start Menu you can add other folders, documents or templates, shortcuts to documents, template, or folders, and more folders. 

Note the difference in the icons shown for the folders. Some show a picture with more icons over the top. These represent real folders that are in your "Start Menu" folder. Others, displayed as plain manila folders, are actually shortcuts to real folders stored elsewhere on your disk. The lines for the real folders will open to display the folders' contents. If you select one of the shortcuts to a templates folder, that will open that folder as a window on your desktop.

Also, like "favorites" if your Start menu templates folder is filled with shortcuts, that is exactly what they are - shortcuts. If you delete one, the original file is still there. If you delete or move the original file, the shortcut will remain - and give you an error message when you try to use it.
A combination of these techniques, the File => New dialog box and adding to your Start menu, will probably meet your personal needs. A template reached through the Start menu will act the same way it would if you double-clicked on it in Explorer - create a new document based upon the template. If you've been reading straight through, now is a good time for a break.

Customizing Word ... 

However, if you are looking for a solution that is easily transported between work and home or that you want to share with others in your office, then you may want to look at customizing Word by adding a few macros and a menu or two. If this is your aim, get out your work clothes, put on your gloves, and we'll start moving some furniture.

Preliminary Step - Organize your Templates

The first thing you will want is to have these templates organized the way you want them. For a shared solution, we are talking about the Workgroup templates folder. We may also be talking about templates that are stored in a shared location and are outside of the Workgroup templates folder. (This is where you would put templates that you wanted to only be accessible through your menus.) You will want your co-workers to have the ability to read these files, and in the case of Workgroup templates, view the folder contents. Further, wherever you put these, if they aren't going to stay there, you are looking for a lot of extra work. (You don't want to move the piano every time someone decides to play a different CD on the stereo! Once you have a customized menu in place, moving a piano may look easy compared to moving a template.)
The shared location for these templates must appear to be the same for all users - the same mapped drive letter, or the same UNC. My preference is for the same drive letter, but that may take more regulation than your workplace can handle. The folder names must be identical (including the case of letters with some networks). For more on Template folder structure and placement see Template Basics.

Start a new Global Template

You will want to keep your menus and macros in a "global" template.

picture of Template selection from File>New

If you don't already have a global template, go to File => New and click "New Template" in the bottom right corner of the dialog box. Select blank document. You can use this new template to keep notes on what you have done if you want. It will not be used as the basis for new documents but as a container for your customizations. Save it using a name like "MyGlobal.dot." Don't close it.

Make a List of Your Templates for Your Menus

Let's just start with three templates, named MyTemplate1.dot, MyTemplate2.dot, and MyTemplate3.dot. They are stored on a network location that is (1) accessible to you and (2) can be made accessible to others who will be using your menus. I will assume that they are in a folder called MyTemplates inside the Workgroup templates folder. You can use these techniques to construct menus for your own templates, as well. 

Record some macros . . .

To record each macro make sure that you have your global template open on your screen as the active window. At the bottom of your screen, in about the middle of the "status line," grayed out in a little box are the letters "REC." Double-click on these and the macro recorder dialog will open up.

picture of The Record Macro Dialog Box

The Record Macro Dialog Box

You will have to change the settings so that Word assigns a meaningful name to your Macro and puts it in your template. Note the use of internal upper-case letters in the Macro name. You want the dialog box to note that you want to store your macro in Documents Based On MyGlobal.dot.
You can add an explanation of the macro if you want in the description. Click on OK or press the Enter key to return to your document and record your macro. The little macro recording toolbar will pop up. Ignore it for now but don't close it!

picture of Macro Recording Toolbar

Create a New Document Based on MyTemplate1.dot

Using File => New, create a new document based on MyTemplate1.dot. Once the new document is open, click on the black box in the macro recording toolbar - not the x in the close box. Then close your new document, you don't need it anymore. Save MyGlobal.dot ( but don't close it).

Record two more macros

Record two more macros named MyTemplate2NewDoc and MyTemplate3NewDoc, respectively. Follow the same steps of beginning your recording from within your global template and creating a new document using File => New. Close both new documents and save MyGlobal.dot. You have now recorded the macros that we'll use for our menus.

Rename the Macro Module

Because custom-built menus are very sensitive to changes, we want to keep our macros somewhere other than in the "NewMacros" module that Word uses for storing recorded macros. Otherwise, all of our macros will end up jumbled together. Pick a name (again all one word) that describes this group. Then use the Organizer (Tools => Customize... => Organizer (button)) to rename NewMacros to your new name. For purposes of this tutorial, we'll rename it LetterForms. You want to do this before we start building our templates menu because otherwise you'll have to build your menus again after you rename the module - the menu items won't know where to find your macros.

Time for the Furniture moving - building the custom toolbar

Chas' first rule of customizing toolbars and menus: Everything goes in a custom toolbar - even if you don't want a custom toolbar!
The scene: you have Word open and the only thing open in Word is MyGlobal.dot. All of your other templates and your new documents that you created when recording your macros are closed. The first step is to create a "custom toolbar" that we'll name "Template Favorites Toolbar." Note that this name does have spaces in it.

Tools => Customize... => Toolbars (tab) => New (button)

picture of Tools>Customize>New Toolbar

Make sure you are saving your toolbar in MyGlobal.dot. 

A little stub of a toolbar will appear. Don't worry, it will grow as needed! 

picture of stubby new empty toolbar

Click on the Commands tab and go way to the bottom of the categories (left) window - to New Menu. The commands window on the right will clear of everything except "New Menu." Click on this "New Menu" from the commands window and drag it to your toolbar. (You can try dragging New Menu from the categories window - I do this regularly - but it won't budge.) Right-click on your new menu and rename the menu to something creative like "&Templates Favorites" or "&Letter Forms." (The ampersand - &  - tells Word that you want to use the next letter for a keyboard shortcut.) You should now have toolbar that looks like it can really do something (even though it can't). Something like:

picture of new named toolbar

Add your macros to your toolbar

(Scene: The Customize dialog box is still on your screen, the open document is MyGlobal.dot.)Click on the Macros category (left window) and you will probably get to wait a minute or so while Word sorts through all the macros available. Find your macros in the commands window.

picture of Tools>Customize>Commands>Macros

 While the macros list is organized, you may have some trouble figuring out the order. The default project name is "TemplateProject." Then comes the module name and finally the macro name. Since there is no way to make the window wider, you may end up guessing to find your macros. That is OK, if you guess wrong, just drag the mistake off your menu. Drag your macros, one at a time, to your new menu. Hold the macro over the new menu until the menu opens up, then drag the macro onto the menu. When you have dragged all three to your menu you will have something like the following:

picture of new toolbar with Macros included

As you can see, the menu widens to display the full (if incomprehensible) name. You can rename these menu commands by right-clicking on them while the Customize dialog box is open.

picture of rightclick options on new toolbar

The names that I assigned were "Letter Form &1," etc. Again, the ampersand is to set a keyboard shortcut for your menu.

Add some button images

In case you want to use these as toolbar buttons, let's add some button images (something other than the default macro Lego(tm) spider). Right-click on each one, select Change Button Image, and pick a button to suit. (See Work Menu article for more on changing button images.) Click on Default Style to show the buttons on your menu (and toolbar). While holding down the Ctrl key, drag each macro command onto your toolbar (in addition to the menu).

picture of new toolbar with button images

The name you used for your macros will show up as the Tool Tip text for your buttons:

picture of tooltips displayed with new buttons

Park your menu where you want it!

Remember that I said you needed to create a custom toolbar, even if you didn't want another toolbar? The reason for doing this is that customizations to the built-in menus can't be copied while custom toolbars can be copied easily. So, having built a "copy-able" custom toolbar, we can use items on that toolbar to customize the built-in menus and toolbars.

With the Customize dialog box still open...

Hold the Ctrl key down while you drag your menu where you want it. Perhaps under the File menu. If you like, you can Ctrl-drag your buttons to your standard toolbar. This puts copies of your custom items on the built-in menus and toolbars. The originals remain on your custom toolbar - able to be moved.

Clean up.

Close the Customize dialog box. Close your custom toolbar (unless you want it to pop up everytime you start Word). Save and close MyGlobal.dot. Open a different document or create a new one (not based on MyGlobal.dot). Check under the file menu -- and where is your new menu that you spent all that time creating? We have one more step.

Make MyGlobal.dot into a global template.

A global template is one that gives resources like menus to all of your documents. To have MyGlobal.dot act that way, move it into your Word Startup folder. Note that this is a different folder from the Programs Startup folder in your Start menu. This is specific to Microsoft Word. The location of your startup folder can be set by you. Otherwise its location will vary by operating system and Word version. You can find the location of your Startup folder by checking under Tools => Options => File Locations (tab). Once you know where it is, close Word. If none is set, you can set one (but it should NOT be your templates folder).
With Word closed, move MyGlobal.dot into your Startup folder.
Open Word again and take a look under the File menu. You should see your custom menu. Give it a try! All of your macros are available to you. And, since you did not store any of these customizations in your Normal.dot, you can share them easily. Next month, in a much shorter article, we'll take a look at doing just that. In the meantime, you have just done some major furniture moving and deserve a break! Tell someone close to you that you have been doing heavy lifting and need a back rub.

For more on moving customizations, see Moving (Sharing) Customizations in Microsoft Word. For more on global templates, see Template Basics.

<<editor's note: for more information on cleaning up your macros after Word creates them for you, see Chad Welch's Macro Mania article>>

Chas Kenyon is a trial lawyer concentrating in criminal defense with a long interest (obsession?) with making word processing work well in the law office.  Visit his home page

Privacy Policy, Disclaimer, and Legal Stuff

Pay Per Click Ads by Pay Per Click Advertising by Kontera

This page was last updated on Tuesday, September 23, 2008 . copyright © 2000 - 2008, Linda F. Johnson, Linda's Computer Stop, ABC ~ All 'Bout Computers. All rights reserved..