Tutorials For OpenOffice: Address Book
Image by: Sally Peterson

Address Book

This tutorial explains how to use a spreadsheet to create an Address Book. The Address Book is then used to print Address Labels.

Part 1 explains how to create an Address Book.

Part 2 explains how to Register the Address Book so it can be used as a Data Source for printing labels.

Part 3 explains how to select information to be taken from the Address Book and printed on the labels.

Part 4 explains how to print Address Labels using the Address Book as the Data Source.

To save time, some Users may want skip Part 1 and download the Address Book that has already been made.

To download the Address Book, go to our website www.tutorialsforopenoffice.org

  1. Under Our Tutorial Offerings, click on Writer.

  2. On the Writer (word processing) Tutorials page, scroll down to ADDRESS BOOK, LABELS, ENVELOPES, FORM LETTERS - Chapter 6.

  3. At Lesson 2 Address Book, click on the blue underlined here link.

  4. Select Open with then click OK (The Address Book appears on your screen.)

  5. Click File > Save As. In the Save in: pull-down menu box, select My Documents. Click the Save button.

If you already have your Data Source (your Address Book), you may want to start at Part 2 and modify this tutorial as needed.

Part 1: Create An Address Book

  1. IF in a OpenOffice 2.3 document, Click File > New > Spreadsheet. (A new spreadsheet appears on the screen that is named Untitled1 - OpenOffice.org Calc)

  2. IF not in a OpenOffice document, click > All Programs > OpenOffice.org 2.3 > OpenOffice.org Calc. (The name of the file Untitled1 - OpenOffice.org Calc appears on the screen)

Change Column Width

  1. Right-click on the A that is at the top of the first column. (A menu appears)

  2. Click Column Width... (The “Column Width” window appears.)

  3. In the Width dialog box, click on the top upward facing triangle of the to select 1.19”. Click OK.

  4. Select both columns B and C. To do this, click on the B at the top of the second column and while holding down the button on your mouse, move the pointer over to column C. (Both columns become highlighted) Release the click. Right-click on either B or C (A menu appears)

  5. Click Column Width...

  6. In the Width dialog box, use the to select 1.49”. Click OK.

  7. Change the width of columns D and E to 0.99”.

  8. Change the width of column F to 0.59”. (Press the bottom downward facing triangle)

Add Titles To Columns

This tutorial suggests specific titles. At any time in the future, you can change column titles, add or delete columns, and change column widths.

  1. Click In cell A1 then type First Name.

  2. In cells B1 through F1 enter the following titles: Last Name - Street - City - State - Zip Code.

Center Titles

  1. Select all the names by starting at cell A1 (The “First Name” column) and drag your mouse over all the names ending at cell F1 (The “Zip Code” column).

  2. Click on the Centered icon found on the Formatting Toolbar. (The titles of the columns are centered.)

Add The Addresses Of Three People

  1. Click cell A2, then type the first name,William.

  2. Click cell B2. (The cursor moves to cell B2.) Type the last name, Jones.

  3. Click cell C2. (The cursor moves to C2.) Type the name of a street, 1 Main Street.

  4. Add New York to cells D2.and E2.

  5. Add 01111 to cell F2

  6. In row 3, enter Sam, Smith, 2 First Avenue, Chicago, Illinois, 54321 and in row 4, enter Ann, Baker, 3 East Drive, Denver, Colorado, 98765.

Format The Zip Code Column For Five Digits Zip Codes

  1. Right-click on the F at the top of the Zip Code column. (The column is highlighted and a menu appears).

  2. Click Format Cells (The 'Format Cells" window appears)

  3. Click the Numbers tab.

  • Under Category, click Number.

  • Under Format, click General.

  • In the Leading zeros box, increase the number 1 to a 5.

  1. Click OK. (A zero appears at the beginning of the "01111" zip code).

Create A Second Page

  1. Click File > Page Preview. (A picture of page 1 appears on the screen.)

  2. Click the Close Preview button. (Your address book appears back on the screen.)

  3. There is a dark vertical line going down the page that probably is between columns G and H. That line is the edge of the printed page.

  1. Select cells A1 through F1. (To do this, click in A1 then drag to cell F1.)

  2. Right-click in any one of the selected cells, then click Copy. (The titles of the columns are copied to the clipboard.)

  3. Scroll down until you see the dark horizontal line.

  4. Click on the cell in column A that is on the row just below the dark horizontal line. Right-click then click Paste. (The titles of the columns are copied to the 1st row of the 2nd page.)

  5. On the 2nd row, type the following in the appropriate columns: Betty, Doe, 4 West Lane, Austin, Texas, 55555.

Save The Address Book

  1. Click File > Save As. In the Save in: box, select My Documents.

  2. In the File name: box, type Address_Book_Spreadsheet.

  3. In the Save as type: box, select OpenDocument Spreadsheet (.ods).

  4. Click the Save button.

Part 2: Register An Address Book As A Data Source

In Part 1 of this Tutorial, you created and saved the Address Book. You need to register the Address Book.

Open A New Text Document

  1. IF on the desktop, click > All Programs > OpenOffice.org 2.3 > OpenOffice.org Writer.

  2. IF you are in Writer or Calc, click File > New > Text Document.

  3. In either case, the text document appears on our screen.

Register An Address Book As A Data Source

  1. Click File > Templates > Address Book Source... (the “Templates: Address Book Assignment” window appears)

  1. Click on the Administrate... button. (The “Address Book Data Source Wizard” window appears) Select Other external data source. Click Next>.

  2. Click the Settings button. (The “Create Address Data Source” window appears)

  3. In the Database type pull-down menu, select Spreadsheet. Click Next>>. (The “Database properties – Connection settings” window appears)

  4. Click the Browse button. (The “Open” window appears) In the Look in: pull-down menu, select My Documents. Click on Address_Book_Spreadsheet. (The name appears in the “File name:” pull-down menu box) Click on the Open button. (Under “Path to the spreadsheet document”, you will see “C;\Documents and Settings . . .

  5. Press the Test Connection button. (A message appears, the connection was established successfully). Click OK > Finish. (A window with “Field Assignment” appears)

  6. Click the Field Assignments button. (The “Address Data – Field Assignment” window reappears)

Part 3: Assign Fields

Select the Fields that will be printed on the labels.

  1. The Address Data - Field Assignment window is on the screen.

  • In the First name pull-down menu box, select First Name.

  • In the Last name pull-down menu box, select Last Name.

  • For Street, select Street.

  • For Zip Code select Zip Code.

  • For City select City.

  • For State select State.

  1. In the Data source, pull-down menu, there will be the word, Addresses and a number may also be there. Write down or remember what is there, you will use Address later.

  2. Click the OK button. (The words “Data Source Name” appears within the “Address Book Data Source Wizard” window )

  3. Click Finish button. (The window appears.)

Part 4: Print Address Labels

  1. Click File > New > Labels. (The “Labels” window appears.)

  2. Click on the Options tab.

  1. If there is a check mark in the small box before Synchronize contents, click on the check mark to remove the check mark.

  2. Click on the Labels tab.

  1. In the Database pull-down menu, select Addresses. (There may be a number with the Addresses depending upon what you did previously in Part 2.)

  2. In the Table pull-down menu, select Sheet1.

  3. In the Brand pull-down menu, select Avery Letter Size.

  4. In the Type pull-down menu, select 5260 Address.

  5. In the Database field pull-down menu, select First Name then Click on (“<Addresses.Sheet1.0.First Name>” appears in the “Label text” box.)

  6. In the Database field pull-down menu, select Last Name then Click on (“<Addresses.Sheet1.0.Last Name>” appears on the same line as the “First Name”) In the Label text box, click on the next line below what you just added to the box.

  7. In the Database field pull-down menu, select Street then Click on (“<Addresses.Sheet1.0.Street>” appears in the “Label text” box on the 2nd line.)

  8. Place City, State, and Zip Code into the label text box.

  9. Click New Document. (The “Labels – OpenOffice.org Writer” window appears)

  10. Click File > Print. Click Yes to Your document contains address database fields. Do you want to print a form letter? (The “Mail Merge” window appears)

  1. Click Tools > Mail Merge Wizard. Select. Use the current document. Click on 8. Save, print, or send. Click Save the Document. (The “Save As” window appears)

  2. Save in My Documents folder with the name My Address Labels. Click Finish button.

  3. Click OK. Print the labels.


Tutorials are improved by input from users. We solicit your constructive criticism.

Click here to E-mail your suggestions and comments

Edited by Sue Barron

Address_Book         12/29/07

Last modified: 2008.04.25 20:33 UTC
Creative Commons License
This work is licensed under a Creative Commons Attribution2.5 License.