Internet Fixes Weekly Office 2000 Newsletter

September 03, 2004Keeping you up to date every week!
 
Main Document In A Mail Merge in Word 2000! Part 2 of 2
The main document is the label, letter or other product that you are producing. It always begins as a Word document. If you need to perform the mail merge more than once, you'll want to save the main document as a template prior to performing your first merge.

For our purpose of describing these steps, we are using a data source file that contains six columns of data: First Name, Last Name, Address, City, State, Zip.

If you have already typed your letter, open it. To create mailing labels or envelopes, just have a blank document open.

Mail Merge Steps
Create
From Word's menu, choose Tools-Mail Merge, which invokes the Mail Merge Helper. In Word XP, you'll choose Tools-Letters and Mailings-Mail Merge Wizard. From this point, the steps are virtually the same, except that Word XP's wizard is a bit more helpful.

Hit the Create button and choose the type of document that you want to create. If you've already opened your letter, or if you are creating mailing labels or envelopes, then choose the Active Window button when you are asked what document to use.

Get Data
Hit the Get Data button and you are asked about your data source. Choose the appropriate option.

NOTE: If you choose Create Data Source in Word XP (2002), you will be taken to an Access database by default. We believe most users will be working with their previous setups. For previous versions, continue reading.

If you choose Create Data Source, a form pops up into which you can enter data. Follow the steps to produce the data file. Once you have created this type of data source file, Word saves it in a file in table format. If you plan to use the data again, it is very important that you save this data file and know where on your computer it has been saved. Any time you want to edit it, you can use the mail merge option, or you can open the file directly and edit the data directly in the table.

If you are getting your data from an existing data source file, such as an Excel file, you need to choose Open Data Source, change the Files of type to the type of file in which your data resides, browse to your file, and then open it. When you have provided Word with a data source file, you are prompted to Edit Main Document. Choose this option. The mail merge toolbar appears; and will appear whenever you open the main document unless you choose to turn it off.

Edit Main Document
The Insert Merge Field dropdown on the mail merge toolbar provides a list of the headings, labels, or field names in your data source file. For our example, place your cursor in the document where you would like the Name to appear and hit Insert Merge Field and choose First Name from the dropdown. Insert a space in your main document so that there is a space between the First Name and Last Name. Hit Insert Merge Field and choose Last Name. You'll want to hit Enter now to get to the next line. Insert the rest of the merge fields as appropriate, remembering to type in punctuation such as a comma and space after the City field and two spaces after the State and before the Zip code.

After you have inserted all of your merge fields, you can test the data by hitting the <abc> button on the mail merge toolbar. Turn the button off after testing.

At this point, save your file. It can be saved as a document or as a template. If you save it as a template and want to perform the merge now, close it, and then hit File-New and choose the template. Saving as a template ensures that you won't overwrite your main document.

Merge
Finally, to perform the merge, you can choose the appropriate button from the mail merge toolbar, or from the Mail Merge Helper. Choose to mail merge it to a New Document, Email, or to the Printer. Because printers can sometimes cause problems, Dreamboat suggests not to use the To Printer option. If your merged document is more than about 100 items, I suggest you save the newly merged document--at least temporarily--until you have completed printing it. This allows you to print some now, and some tomorrow.

If you have not already done so, you now want to save the data source file (if created in Word) and the main document. If you intend to use the same main document again, save it as a template.
Quickly Shuffling Toolbar Buttons in Excel 2000!
Here's a quick tip that you can pass on to your users who like to modify their Excel toolbars.

Instead of right-clicking a toolbar and selecting Customize to launch the Customize dialog box, users can simply press the [Alt] key and click and drag a button to any toolbar they want. Of course, both the Source and Target toolbars must be visible for this procedure to be effective.

One quick word of warning: This technique moves buttons, so they will no longer be on the default toolbar. If users want to copy a button to a new toolbar while retaining its position on the original one, they can hold down [Ctrl][Alt] while clicking and dragging the button.
Verifying that update query criteria are correct (Access 97-2000-20002)
In a past tip, I mentioned that the View button provides you with a chance to see what records will be affected by an action query without actually running the query. This technique lets you double-check that your query will only impact the intended records before making irreversible changes to your data. However, if you're creating a query that depends upon criteria fields that aren't changed by the query, you may not get a clear picture of what data will be affected.

For instance, let's say that you're updating a SalesRep field based on values in an AreaCode field. You want to update all of the records for a rep that has the territory within the New York City area codes 212, 718, and 917. The update query contains two fields in the design grid:

AreaCode and SalesRep. In the SalesRep column, the Update To field is set to the rep name:

"Brian Desso"

The Criteria field in the AreaCode column is set to:

"213" Or "718" Or "917"

Of course, you've entered an incorrect AreaCode value (213). However, if you click the View button or choose View | Datasheet View from the menu bar, you have no way of knowing that a mistake was made. The only fields shown in the datasheet are those that are about to be updated. In this case, the criteria field data that the query depends upon aren't changed, so all you see are the blank SalesRep fields.

Fortunately, you don't have to convert your query to a regular select query to provide context for the datasheet view of the records. Simply switch back to Design view and set the Update To value associated with the criteria field equal to the field name. For example, set the Update To value in the AreaCode column to:

[AreaCode]

When you switch to Datasheet view, you can now see the selected area codes listed. Essentially, the query is now set up to update AreaCode with whatever value already exists in that field. Once you've verified that the right records will be processed, remember to go back to Design view and remove the extraneous updates before you actually execute the query.
=====================================
Visit My Customer Support Pages!
http://internetfixes1.brinkster.net/customer_support/

Database Download Center!
http://internetfixes1.brinkster.net/customer_support/Down_Load_Center1/index.htm

DOS Command Index!
http://internetfixes1.brinkster.net/customer_support/batch_files/batch_11.htm

Learn How To Backup The Registry!
http://internetfixes1.brinkster.net/customer_support/registry_tips/registry.htm

Backup your Registry in Windows XP!
http://internetfixes1.brinkster.net/customer_support/registry_tips/registryXP.htm

Visit our Quick Over View of my Remote Connection Service!
http://www.internetfixes.com/remote_setup/quick_index.htm

Remote Connection Help Service Hours!
http://www.internetfixes.com/remote_setup/hours.htm#Remember_all

Have Questions on Microsoft Windows & Office Products? Try my New Forms!
http://www.internetfixes.com/question.htm

Help Desk Techs!
http://www.internetfixes.com/help_desk_techs.htm
Things to Note
Many Folks ask us how we cover so many topics. Most of our answers come from a Database with 42 Topics and over 8000 entries. This came from over 8 years of online help. Couple that with over 5000 documents on various subjects we have the ability to answer most of your questions.
  Hit Counter
 
http://www.internetfixes.com/question.htm

Google
WWW www.internetfixes.com internetfixes1.brinkster.net