Making Passes

No, no, not that kind of passes. I'm talking about making separate passes through a document to catch different kinds of errors. If you can catch them all in one pass, your mind is much more efficient than mine. I work much better and catch more errors by going through a manuscript several times, fixing different kinds of problems each time. This approach to editing works well on paper, but it works even better if you're editing on the computer. This is related to last week's article on editing from the top down, which you can read here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707878802

Here are some of the passes I make when I'm editing a document:

1. I do a spell check. Laugh if you will, but a spell check catches the most elusive of typographical errors--which means I don't have to. It saves time now and embarrassment later. You can read more on this topic here:

http://www.topica.com/lists/editorium/read/message.html?mid=1700310413

2. I scan for repeated errors, inconsistencies, and idiosyncrasies in punctuation (especially in citations), capitalization, and spelling. When I find something I don't like, I fix it globally with Microsoft Word's Find and Replace feature. This is much faster than doing all of this work by hand, and when I'm done, I'm not left wondering if I've missed an occurrence of one of the problems somewhere. You can learn more about searching in past issues of Editorium Update--October 24, 2000, to November 21, 2000, and March 21 to April 25, 2001:

http://editorium.com/euindex.htm

3. I edit different kinds of items in separate passes. For example, I edit all of the chapter headings at one time, which ensures consistency and parallelism and all of that other good stuff. (If you use Word's built-in heading styles for chapter headings, you can see and edit them all at once in Outline View.) Then I edit the body text. Then I edit the sidebars. Then I edit the footnotes. Then I edit the bibliography entries. You get the idea. As I work, I make liberal use of Word's Find and Replace and macro features. You can learn more about macros in past issues of Editorium Update--May 9 to May 23, 2001:

http://editorium.com/euindex.htm

And you can learn more about editing notes here:

http://www.topica.com/lists/editorium/read/message.html?mid=1701016860

By the way, it's important to consider the order in which to make your passes. Can you really understand the sidebars if you haven't read the body text? If not, you'd better edit the body text first. Also, there's usually some going back and forth between items. For example, changes in the footnotes may require additional editing in the bibliography. So even if you're making passes, don't feel like you can't be a bit flexible. Editing on the computer, just as on paper, is as much an art as it is a science. And while the computer is a wonderful tool, don't forget that you're the one in charge.

_________________________________________

READERS WRITE

In last week's newsletter I wrote:

"If each chapter of a book is a separate document, I pull all of the chapters together using the Add Documents feature of our Editor's ToolKit program. I like having all of the chapters in one document so I can see and work on the whole book at once."

Subscriber Ann Redmon (ann@gant.org) responded:

"I've been using and enjoying many of your Editor's ToolKit features, but haven't tried the Add Documents feature for fear that the resulting document would just be huge and unwieldy. Is this not the case?"

I replied:

"It's true that the document is sometimes huge, but I think that having all of the book in one document is less unwieldy than messing around with, say, twenty different documents ("Let's see, where was that paragraph about . . . ?"). My computer has plenty of memory, so the hugeness doesn't bother me or crash my machine. I like being able to see the whole structure of a book in Outline View, and I like being able to do a quick Find and Replace that I know will standardize something throughout the book without having to go from chapter to chapter. All of this may just be a matter of personal preference, and you should probably do whatever works best for you."

Thanks to Ann for her question.

Posted in Editing | Leave a comment

Editing from the Top Down

When I'm editing on the computer (which is most of the time), I'm most effective when I edit from the "top down." What that means is that I don't start changing commas and semicolons until I've done some other, more comprehensive tasks:

1. If each chapter of a book is a separate document, I pull all of the chapters together using the Add Documents feature of our Editor's ToolKit program. I like having all of the chapters in one document so I can see and work on the whole book at once. Later, if I need to split the document apart again, I use the program's Split Documents feature. You can learn more about Editor's ToolKit here:

http://www.editorium.com/14842.htm

2. I apply my own document template. This template uses a font that's easy on the eyes and includes all of the styles I'm likely to need. You can read more about this here:

http://www.topica.com/lists/editorium/read/message.html?mid=1700934923

http://www.topica.com/lists/editorium/read/message.html?mid=1704544112

3. I replace directly applied formatting with paragraph styles. (Why more authors don't use styles to format their documents is beyond me, but that's the way it is.) If the author has been consistent, I can do this with Word's Replace feature, replacing 16-point Arial bold (for example) with Word's Heading 1 paragraph style (for example). If the author hasn't been consistent (which is usually the case), then I have to go through the document and apply at least some of the paragraph styles manually. The effort is worth it, however, because it means that the styles can be passed on to QuarkXPress when it's typesetting time or reformatted quickly and easily in Microsoft Word as needed. You can read more about this here:

http://www.topica.com/lists/editorium/read/message.html?mid=1705536230

4. After applying the heading styles (Heading 1 through Heading 9) in particular, I use Word's Outline View or Document Map to look at the structure of the document. Does it make sense? Are the different sections in some kind of logical order? If they're not, I can easily move them around in Outline View. You can read more about this here:

http://www.topica.com/lists/editorium/read/message.html?mid=1700396609

5. I run the document through our FileCleaner program to clean up double spaces, eliminate multiple carriage returns, remove any remaining directly applied formatting (but leave italic intact), and fix a host of other annoying (but common) errors. You can learn more about FileCleaner here:

http://www.editorium.com/14845.htm

6. Finally, I start editing the actual text of the document. As I do this, I watch for recurring errors. If an error shows up more than twice, I stop fixing it manually and take care of all of its occurrences in one fell swoop, using a macro or Word's Replace feature. I save my macros and find-and-replace strings for use on future projects, and I now have a large collection of these useful tools. You can learn more about macros and Find and Replace in past issues of Editorium Update--October 24, 2000, to November 21, 2000, and March 21, 2001, to June 6, 2001:

http://editorium.com/euindex.htm

You may not want to follow my procedures exactly, but you might think about the steps you take in editing and see if there are some "top-down" procedures you could follow that would improve your speed, efficiency, and comfort.

Posted in Editing | Leave a comment

Hidden Features in Microsoft Word

Microsoft Word comes with lots of features, many of which do not appear on menus or toolbars unless you put them there. Some of these features aren't even documented. Nevertheless, some of them are very useful for editing, writing, typesetting, and other publishing tasks. From time to time I'll write about these features in Editorium Update. For now, I just want to show you where the features are so you can start exploring them and putting the ones you like on menus, toolbars, and keyboard combinations for easy access.

In Word 6 and 95, you can see (and run) *any* of Word's features like this:

1. Click the "Tools" menu.

2. Click "Macro."

3. In the "Macros Available In" box, find and click "Word Commands."

4. In the "Macro Name" list, you'll see all of Word's features.

5. Click a feature that looks interesting. You'll see a brief description of the feature in the "Description" box.

6. Click the "Run" button to run the feature.

In Word 97 and above, you can see (and run) *any* of Word's features like this:

1. Click the "Tools" menu.

2. Click "Macro."

3. Click "Macros."

4. In the "Macros in" box, find and click "Word commands."

5. In the "Macro name" list, you'll see all of Word's features.

6. Click a feature that looks interesting. You'll see a brief description of the feature in the "Description" box.

7. Click the "Run" button to run the feature.

If you want to add a feature to a menu, toolbar, or keyboard combination, follow the procedures for adding a macro as explained in past issues of Editorium Update:

Adding menu items: http://www.topica.com/lists/editorium/read/message.html?mid=1707444986

Adding toolbar buttons: http://www.topica.com/lists/editorium/read/message.html?mid=1707286867

Adding keyboard shortcuts (Readers Write column): http://www.topica.com/lists/editorium/read/message.html?mid=1707100224

The only difference in the procedures is that in the "Categories" list, you should click "All Commands" instead of "Macros."

One caution: Please don't try any of these features on a document with any importance. Just use a test document with some junk text until you understand exactly what a feature does and feel comfortable using it. Have fun spelunking!

Posted in Customization | Leave a comment

Creating Menus

Last week I explained how to create your own toolbars in Microsoft Word. You can create your own menus, too, as a place to activate macros or Word commands. Here's how:

In Word 97 or later:

1. Click the "Tools" menu.

2. Click "Customize."

3. Click the "Commands" tab.

4. In the "Categories" box (on the left), click "Menu" (you'll probably have to scroll down to find it).

5. In the "Commands" box (on the right), click "New Menu" and hold down your mouse button.

6. Drag your new menu (represented by a gray rectangle) up to Word's menu bar and drop it (by releasing the mouse button) where you want it to go. It will be displayed on the menu bar with the name "New Menu."

7. Back down in the "Customize" dialog, click the "Modify Selection" button. The customization menu will appear.

8. In the box labeled "Name," type the name for your menu, such as "Macros," and press your "Enter" key to make the change.

9. In the box labeled "Save in," select the template or document where you want your new menu to live. This will probably be your Normal template (Normal.dot), which will make the menu available to any document. You could also select another template or document, however.

10. Click the "Close" button.

In Word 6 or 95:

1. Click the "Tools" menu.

2. Click "Customize."

3. Click the "Menus" tab.

4. Click the "Menu Bar" button (on the lower right).

5. In the box labeled "Name on Menu bar," type the name for your menu, such as "Macros."

6. In the box labeled "Position on Menu Bar," click the menu (such as "Edit" or "View") after which you want your new menu to appear. (You can also click "First" or "Last.")

7. Click the "Add" or "Add After" button. (You can also remove or rename menus while you're here, but if you do so, use extreme caution. It's not easy to get things back the way they were.)

8. Click the "Close" button.

9. In the box labeled "Save changes in," select the template or document where you want your new menu to live. This will probably be your Normal template (Normal.dot), which will make the menu available to any document. You could also select another template or document, however.

10. Click the "Close" button for the "Customize" dialog.

Once you've created your menu, you can add macros to it as described in the July 11, 2001, issue of Editorium Update, which you can read here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707444986

I've assumed that you're probably going to keep your new menus (and toolbars) in your Normal template, but that's not the best place to keep them, since the Normal template can become corrupted (you should back it up frequently, just in case). It's better to keep your menus and toolbars (and keyboard shortcuts and macros) in your own add-in template, as explained in the June 20, 2001, Editorium Update:

http://www.topica.com/lists/editorium/read/message.html?mid=1707194086

_________________________________________

READERS WRITE

April Karys wrote:

Our authors frequently write "the Java programing language," and just as frequently leave out the "the." I'm looking for a wildcard that will identify only the instances of this phrase that occur without the "the" and then insert it. That way I won't have to go through manually for this one correction item, but can include a wildcard with the macro that's cleaning everything *else* up. Whew. Anyway, is this possible to achieve with wildcards? Is nothing impossible to achieve with wildcards? (Will one of them make me dinner tonight?)

I responded:

As far as I know, there's no elegant (wildcard) way to do what you're describing. You just have to grit your teeth and do a two-step find-and-replace. You *can* record it in a macro, however.

To achieve what you want:

Find: Java programming language

Replace with: the Java programming language.

And then:

Find: the the Java programming language

Replace with: the Java programming language

In other words, you'll be putting an extra "the" in front of some of your "Javas" but then removing them. That will leave *all* of the occurrences looking like this:

the Java programming language

That should do the job.

In the meantime, I'll be working on some wildcards that will make duck ? l'orange. 🙂

Posted in Macros | Leave a comment

Creating Toolbars

A few weeks ago, we talked about how to create toolbar buttons to activate your macros, but the fact is, you can create your own toolbars as well. Then you're not stuck with the toolbars that come with Microsoft Word. Here's how:

In Word 97 or later:

1. Click the "Tools" menu.

2. Click "Customize."

3. Click the "Toolbars" tab.

4. Click the "New" button.

5. In the box labeled "Toolbar name," type a name for your toolbar, such as "My Macros."

6. In the box labeled "Make toolbar available to," select the template or document where you want your toolbar to live. This will probably be your Normal template (Normal.dot), which will make your toolbar available to any document. You could also select another template or document, however.

7. Click the "OK" button.

8. Click the "Close" button.

In Word 6 or 95:

1. Click the "View" menu.

2. Click "Toolbars."

3. Click the "New" button.

4. In the box labeled "Toolbar name," type a name for your toolbar, such as "My Macros."

5. In the box labeled "Make toolbar available to," select the template or document where you want your toolbar to live. This will probably be your Normal template (Normal.dot), which will make your toolbar available to any document. You could also select another template, however.

6. Click the "OK" button.

7. Click the "Close" button.

Once you've created your toolbar, you can add macros to it as described in the June 27, 2001, issue of Editorium Update, which you can read here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707286867

Posted in Macros | Leave a comment

Customizing Microsoft Word

When you first install Microsoft Word, it's set up for the "generic" user--someone who employs only the most basic features of this powerful program. For example, it displays the Standard and Formatting toolbars but not the AutoText or Reviewing toolbars. But if you're editing or typesetting in Word, you're not a generic user--far from it. You could probably *use* the AutoText and Reviewing toolbars. And maybe that Standard toolbar doesn't do much of anything for you. Don't be afraid to set up Word so that you can work as efficiently as possible. Here are some tips on how to do that:

1. During a typical workday, notice which features of Word you use the most. You might even make a list and put a check mark next to a feature each time you use it. Then count up the check marks for each feature at the end of the day.

2. If you're using menus or toolbars to access these features, learn and then use their keyboard shortcuts (see "Keyboard Shortcuts" in Word's Help file). Over the course of a year, this will save you an enormous amount of time because you won't be reaching for the mouse every thirty seconds. If the features don't have keyboard shortcuts, make your own, as explained in the Readers Write column of the June 13, 2001, Editorium Update, which you can read here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707100224

3. Explore Word's toolbars by clicking the "View" menu and then "Toolbars." Some of these (Control Toolbox, Visual Basic) may be completely meaningless to you. Others, however (Clipboard, Tables and Borders), you may find very useful.

4. Rearrange menu items and toolbar buttons in ways that make sense to you. Don't settle for Word's out-of-the-box arrangement. Word was *made* to be customized! Go ahead--pull off those buttons you never use. Move buttons from one toolbar to another. If you know that never in your life are you going to use the Letter Wizard, why keep it on your "Tools" menu? Get rid of it! Make your Word window as sleek and efficient as the cockpit of a jet. You can read the basic instructions for customizing toolbars and menus in the past two issues of Editorium Update, here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707286867

http://www.topica.com/lists/editorium/read/message.html?mid=1707444986

5. Go spelunking. Use Word's menus to explore features you may not have seen before. Check out Document Map, Change Case, Word Count, Track Changes, and (if you're a keyboard junkie) Full Screen View. Some of these features will make you smile. When they do, remember where they are (make another list) or put them on menus and toolbars where you can find them again.

6. If you've recorded certain macros that you use a lot, make them easily accessible with keyboard shortcuts, toolbar buttons, and menu items.

If the idea of changing toolbars and menus scares you, just be sure to back up your Normal template (Normal.dot, which resides in your Templates folder). Then, if you need to, you can go back to your original configuration by replacing your new Normal template (where your customizations are stored) with your old, generic one. You can also keep your customizations (and macros) in your own add-in template, as explained here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707194086

Remember, too, that just because you remove a feature from a toolbar or menu doesn't mean it's really gone. You can always put it back if you need to. Over the next few weeks, I'll explain how to create your own toolbars and menus (not just modify existing ones) and add or remove features. I'll also show you the secret repository for *all* of Word's features--many of which are not on *any* menu, toolbar, or keyboard shortcut. If you're interested in customizing Word, you won't want to miss that.

Posted in Editing | Leave a comment

Macros on Menus

In our last newsletter, we talked about putting macros on toolbar buttons, but you may prefer putting them on menus instead. Here's how:

In Word 6 or 95:

1. Click the "Tools" menu.

2. Click "Customize."

3. Click the "Menus" tab.

4. In the "Categories" list, on the left, find and click "Macros."

5. In the "Macros" list, on the right, find and click the macro you want to use.

6. In the "Change What Menu" box, find and click the menu you want to use ("Edit," for example, or "Insert").

7. In the "Position on Menu" box, find and click the menu item below which you want your new menu item to appear. (You can also select "Auto" [which lets Word assign the position], "At Top," and "At Bottom.")

8. In the "Name on Menu" box, type the name of your macro as you want it to appear on the menu. (This won't change the actual name of your macro.)

9. Click the "Add" or "Add Below" button.

10. Click the "Close" button.

In Word 97 or later:

1. Click the "Tools" menu.

2. Click "Customize."

3. Click the "Commands" tab.

4. In the "Categories" list, on the left, find and click "Macros."

5. In the "Commands" list, on the right, find and click the macro you want to use and hold down the mouse button.

6. Drag the gray rectangle to the Word menu you want to use ("Edit," for example, or "Insert"). The menu will expand so you can see its entries.

7. Drag the gray rectangle to the position where you want your menu item to appear.

8. Release the mouse button. Your new menu item will appear on the menu, displaying the name of the macro.

9. In Word 97 or later, click the "Modify Selection" button or right-click the menu item you just added. A menu will appear.

10. Use the menu items to change the appearance of your new menu item until you're happy with it (see the explanations below).

11. When you're finished, click the "Close" button.

Your new menu item will appear on the menu you selected, displaying the name of the macro.

Now you can click the menu item to run your macro.

Here's an explanation of the items on the "Modify Selection" menu:

* "Delete" deletes the selected button.

* "Name" lets you change the text displayed on the menu (without affecting the name of the macro).

* "Copy Button Image" copies the icon from a selected button or menu item.

* "Paste Button Image" pastes a copied icon to the left of a selected menu item.

* "Reset Button Image" resets a menu item to its default appearance, which is blank for a new menu item to which you've assigned an icon.

* "Edit Button Image" lets you create your own icons or modify existing ones. Be careful; it's easy to spend hours playing around in here.

* "Change Button Image" lets you select one of Word's built-in icons. I frequently use the smiley face to run a quick-and-dirty macro for a particular project.

* "Default Style" displays the icon and menu name for a menu item that has both an icon and a text name.

* "Text Only (Always)" displays only the menu item's name, hiding the icon if you've assigned one. (The "Always" means this will be true even if you drag the item to a toolbar button.)

* "Text Only (In Menus)" displays only the menu item's name on the menu (but not if you drag it to a toolbar).

* "Image and Text" displays both the icon and the menu item's name.

* "Begin a Group" separates the menu item from previous menu items with a thin, gray line.

* "Assign Hyperlink" lets you use the menu item to link to a Web page, a file, a picture, or other items, but that's a topic for another day.

When you close Word, the program will ask if you want to save the changes you've made to the Normal (or other) template. In other words, do you want to keep the menu item you've added? If you do, click yes (this will also save any other changes you've made to the template).

_________________________________________

READERS WRITE

Subscriber Brian Vicary wrote:

I have read with great interest your articles concerning Word macros--in particular your more advanced series dealing with creating macros and making them available automatically via add-in templates.

As part of our business I visit our clients' sites to install software and to perform updates when necessary. We supply a Word template with predefined macros to make the use of our software easier. On networks we prefer our template to be shared so that we only have one location to update. While this can be accomplished by pointing the Word Startup path to this shared location, it is often not possible if the users already have templates in their Startup folder. Often users already have slightly different Startup templates for their own use or do not need access to a particular template.

You can add templates using the Tools, Templates and Add-Ins option, but you have to manually activate them each time you run Word.

To get round this problem this is what I do:

1. Open Word and then close the blank document that is open.

2. Go to the Tools menu and select the Macro option; from there select the Record New Macro.... option.

3. Give the macro a name appropriate to the macro--for example, AddMyMacro.

4. Click OK to begin recording the macro.

5. Click the Tools menu and select the Templates and Add-Ins option.

6. Click the Add button.

7. Navigate to where the Template document is stored on the network and select it. It should appear in the Add-ins list with a tick.

8. Click the OK button.

9. Stop recording the macro.

10. Go to the Tools menu and select the Macro option; from there select the Macros.... option.

11. Enter the name AutoExec in the Macro Name box and click the Create button. This will open the Visual Basic Editor with the new macro AutoExec.

12. In the sub for AutoExec, enter the name of the new macro you recorded above--for example, AddMyMacro.

13. Close the Visual Basic Editor.

14. Close and restart Word.

Now when Word starts, it automatically runs the macro AutoExec. This in turn runs the macro name you entered, AddMyMacro, which loads and activates the required template.

If you already have an AutoExec macro, just add a new line to it with the name of your macro. Any number of macros can be added this way, and you also have control over who loads what macros, as well as allowing them to maintain a personal Startup path.

You can also add the template in the usual manner without recording a macro, then record a macro of your activating it. The process is exactly the same, and the result is also exactly the same.

The only drawback can be the speed of the network if your macros are complex, but in practice I have not found this to be a major problem. Also, you have to get everyone to close their Word if you need to update any of the Add-on templates. However, this is true whatever method you use for sharing templates.

Hope this may be of interest to any of your readers.

Thanks very much to Brian for this useful tip.

Posted in Macros | Leave a comment

Macros on Buttons

If you've been recording your own macros (as explained in past issues of Editorium Update), you may be interested in putting them on toolbar buttons for easy access. Here's how:

1. Make sure the toolbar you want to use is showing. (You may need to click the "View" menu, click "Toolbars," and then put a checkmark next to the toolbar you want to display.)

2. Click the "Tools" menu.

3. Click "Customize."

4. Click the "Commands" tab. (In Word 6 or Word 95, click the "Toolbars" tab.)

5. In the "Categories" list, on the left, click "Macros."

6. In the "Commands" list ("Macros" list in Word 6 or Word 95), on the right, click the macro you want to use and hold down the mouse button.

7. Drag the gray rectangle (representing a toolbar button) to a suitable position on the toolbar you want to use. (In Word 97 or later, a black "I-beam" will indicate the position of your new button.)

8. Release the mouse button. A new button will appear on the toolbar. (In Word 97 or later, it will display the name of the macro.)

9. In Word 6 or 95, click the icon you want to use, or type in the text for a text button. Then click the "Assign" button.

10. In Word 97 or later, click the "Modify Selection" button or right-click the toolbar button you just added. A menu will appear. (In Word 6 or Word 95, you can display the menu by right-clicking the toolbar button.)

11. Use the menu items to change the appearance of your button until you're happy with it (see the explanations below).

12. When you're finished, click the "Close" button.

Now you can click the button to run your macro from the toolbar.

Here's an explanation of the items on the "Modify Selection" menu (some of these are not available in Word 6 or Word 95):

* "Delete" deletes the selected button.

* "Name" lets you change the text displayed on the button (without affecting the name of the macro).

* "Copy Button Image" copies the icon from a selected button.

* "Paste Button Image" pastes a copied icon to a selected button.

* "Reset Button Image" resets a button to its default appearance, which is blank for a new button to which you've assigned an icon.

* "Edit Button Image" lets you create your own icons or modify existing ones. Be careful; it's easy to spend hours playing around in here.

* "Change Button Image" lets you select one of Word's built-in icons. I frequently use the smiley face to run a quick-and-dirty macro for a particular project.

* "Default Style" displays only the icon for a button that has both an icon and a text name.

* "Text Only (Always)" displays only the button's name, hiding the icon if you've assigned one.

* "Text Only (In Menus)" displays only the button's name if you drag the button to a menu rather than a toolbar (yes, you can do that).

* "Image and Text" displays both the icon and the button's name.

* "Begin a Group" separates the button from previous buttons with a space (in Word 6 or Word 95) or a thin, gray line.

* "Assign Hyperlink" lets you use the button to link to a Web page, a file, a picture, or other items, but that's a topic for another day.

When you close Word, the program will ask if you want to save the changes you've made to the Normal (or other) template. In other words, do you want to keep the button you've added? If you do, click yes (this will also save any other changes you've made to the template).

Posted in Macros | Leave a comment

Creating Add-in Templates

If you've been recording your own macros, as explained in our past several newsletters, you've probably been saving them in your Normal template, where they'll be available to use with any document. The Normal template may not be the best place to save them, however. Since it's used a lot, it can become corrupt. (You should back up your Normal template frequently.) Also, saving macros in your Normal template makes it hard to keep them organized.

What's the alternative? Create your own add-in templates as a place to keep your macros. Doing so has several advantages:

1. It makes organizing your macros easy. You can keep all the macros for a particular project or task in a single add-in template.

2. It makes backing up your macros easy. Just keep copies of your templates in several locations.

3. It makes sharing your macros easy. Just give a copy of a template to a colleague or friend.

For information on how to use add-in templates, please see the past two issues of Editorium Update:

http://www.topica.com/lists/editorium/read/message.html?mid=1707012536

http://www.topica.com/lists/editorium/read/message.html?mid=1707100224

So how do you create an add-in template? Here's the way I like to do it:

1. Create a new document in Microsoft Word.

2. Save the document as a Microsoft Word template, which has a ".dot" extension. Be sure to give it a name that describes the purpose of the macros you're going to store in the template (for example, Cleanup.dot or MyProject.dot).

3. Click the "Tools" menu.

4. Click "Macro" and (in Word 97 or later) "Macros."

5. Click the "Organizer" button.

On the "Macro Project Items" tab, you'll see two windows. The name of the template you just created should be displayed above the left window, which should be empty since the template doesn't contain any macros yet. If the name of your template isn't displayed, click the drop-down list under the window and select it.

The window on the right should show the macros available in Normal.dot (as indicated above the window). If the window isn't displaying Normal.dot, click the drop-down list under the window and select it. Then, do this:

1. Select the macros in Normal.dot that you want to copy to your new template. (To select several at once, hold down the CTRL key while clicking the macro names.)

2. Click the "Copy" button. The macros should now be displayed in the left window as being in your new template. (You can also delete or rename macros if you like.)

3. Click the "Close" button.

4. Save your new template, which now contains the macros you copied to it.

You've just created your own add-in template containing your own macros.

Posted in Macros | Leave a comment

Adding a Template Automatically

In upcoming issues of Editorium Update, I'll explain how to run macros by adding your own toolbar buttons, menu items, and keyboard combinations to Microsoft Word. If you want to get a head start, however, be sure to read today's Readers Write column, where subscriber David M Varner explains the importance of using keyboard combinations ("hot keys") and how to create them. Thanks, David!

Last week I explained how to add macros to Microsoft Word in a "global template" or "add-in." You can read last week's newsletter here:

http://www.topica.com/lists/editorium/read/message.html?mid=1707012536

The problem is, every time you start Word, you'll have to reactivate the global template before you can use its macros. Here's the procedure:

1. Click the "Tools" menu (the "File" menu in earlier versions of Word).

2. Click "Templates and Add-ins" ("Templates" in earlier versions of Word).

3. In the list of global templates and add-ins, put a checkmark in the checkbox for the template you want to use.

4. Click the "OK" button.

Wouldn't it be nice, though, if you could have Word add the template automatically? You can. Just follow this procedure:

1. Close Microsoft Word.

2. Copy the template you want to add automatically.

3. Navigate to Word's Startup folder.

4. Paste the template into the Startup folder.

5. Restart Microsoft Word.

The macros in the template should now be available for you to use, and they'll be available automatically every time you start Word.

If you don't know where the Startup folder is, here's how to find out:

1. Click the "Tools" menu (in any version of Word).

2. Click the "Options" menu item.

3. Click the "File Locations" tab.

You'll see the location of the Startup folder on the line labeled "Startup." (If you can't see the full path to the folder, click the "Modify" button.)

_________________________________________

READERS WRITE

David M Varner wrote:

Thank you for your recent information on macros. They are a big key to saving critical time on editorial tasks. I know that my assignments frequently incur midstream revisions; more accurately, frequent revisions (to subject matter as well as format) are the rule. So while macros may take a little time to create, you can zoom through those revisions so quickly that it is well worth knowing this function well. Glad to see your focus on macros.

I disagree, however, with your implicit vote for using Word's menu to implement macros. Sorting through menu items is generally somewhat awkward, especially with time constraints always looming. A pretty good short circuit for this snare is to use hot keys. Even if you prefer mousing in the menu, hot keys are a wonderful snap by comparison when considering time, and possibly crucial when a deadline is close. Having a stable of custom macros is not a bad idea either, if not inevitable.

Not only can you choose to assign hot keys while you are creating a macro, but you can also create hot keys for existing macros. I discovered the latter a couple of years ago while trying to remember the hot keys I had assigned to a certain macro. To my dismay, the answer was not to be found in the Macros dialog box--a strange oversight.

This oversight was so strange, in fact, I was convinced that macro hot-key assignments still must exist somewhere. Well, they do, and their location was not obvious, but not too far away. In short, I found them in the "Customize" dialog box. So, to find the forgotten hot keys you assigned to a macro:

1. Click "Tools" on the menu, then select "Customize" to access the "Customize" dialog box.

2. Click the "Keyboard" button to access the "Customize Keyboard" dialog box.

3. In the "Categories" field, scroll down to and select "Macros."

4. In the "Macros" field, scroll, if necessary, down to the macro you want and select it. Your assigned hot keys now appear in the "Current keys" field.

You can probably now figure out how to assign (or modify) hot keys to existing macros using the "Customize Keyboard" dialog box: Using the "Press new shortcut key" field, select "Ctrl," "Alt," and/or "Shift" keys in combination with other keyboard characters to make that hot-key assignment.

Posted in Macros | Leave a comment