Paul McFedries' Web Home



Tricks of the Microsoft Office Gurus
Table of Contents

Part 1 — Office 2003 Application Tricks

Chapter 1—Building Dynamic Documents in Word
AutoCorrect Tricks
Reversing AutoCorrect
Moving AutoCorrect Entries to Another Computer
Entering Boilerplate Text Automatically
Using AutoCorrect to Enter Boilerplate Text
Using AutoText to Enter Boilerplate Text
Creating a Customizable AutoCorrect Entry
Using AutoCorrect to Insert Your Signature
Creating Border Lines On-the-Fly
Creating Table Cells On-the-Fly
Creating Custom Bulleted Lists On-the-Fly
Using Custom Document Properties
Creating a Custom Document Property
Searching Via Document Properties
Using Fields to Insert Dynamic Data
Inserting a Field
Using the Field Dialog Box
Understanding Field Code Syntax
Inserting a Field Manually
Viewing and Navigating Fields
Toggling Field Codes
Navigating a Document's Fields
Updating a Field
Updating All Fields with a Macro
Updating Fields When Opening a Document
Updating Fields By Field Type
Updating Fields By Name
Preventing Updates By Locking a Field
Converting a Field Result to Text
Keyboard Shortcuts for Fields
Putting Fields to Good Use
Viewing Total Editing Time Updated in Real-Time
Running a Macro
Creating "Click-and-Type" Text Placeholders
Creating a Shortcut Menu of AutoText Entries
Building a Formula Field
Calculating Billable Time Charges
Creating Decision-Making Fields
Prompting the User for Input
Performing Calculations in Tables
Referencing Table Cells
Solving a Relative Reference Problem
Adding Dummy Text to a Document
Using the RAND Function
Using the Repeat Command

Chapter 2—Analyzing Data with Excel
Performing a What-If Analysis
Performing What-If Analysis with a Range Snapshot
Setting Up a One-Input Data Table
Setting Up a Two-Input Table
Editing a Data Table
Working with Scenarios
Setting Up Your Worksheet for Scenarios
Adding a Scenario
Displaying a Scenario
Using Goal Seek for What-If Analysis
Running Goal Seek
Goal Seeking with Charts
Solving Complex Problems with Solver
Loading Solver
Using Solver
Adding Constraints
Analyzing Data with Lists
Converting a Range to a List
Basic List Operations
Sorting a List
Sorting on More Than Three Keys
Sorting a List in Natural Order
Sorting on Part of a Field
Sorting Without Articles
Filtering List Data
Using AutoFilter to Filter a List
AutoFilter Criteria Options
Setting Up Custom AutoFilter Criteria
Showing Filtered Records
Using Complex Criteria to Filter a List
Setting Up a Criteria Range
Filtering a List with a Criteria Range
Entering Compound Criteria
Entering Computed Criteria
Summarizing List Data
Creating Automatic Subtotals
Setting Up a List for Automatic Subtotals
Displaying Subtotals
Adding More Subtotals
Removing Subtotals
Excel's List Functions
About List Functions
List Functions That Don't Require a Criteria Range
Using COUNTIF()
Using SUMIF()
List Functions That Require a Criteria Range
Using DAVERAGE()
Using DGET()

Chapter 3—Constructing Knockout Presentations in PowerPoint
Organizing Your Presentation
Organization: Telling a Story
Organizing Your Presentation with an Outline
Viewing the Outline Pane and Outlining Toolbar
Creating a Presentation Outline
Creating the Top Level
Creating the Second Level
Creating Lower Levels
Creating an Outline From a Text File
Controlling the Display of Outline Levels
Editing the Presentation Outline
Organizing with Custom Slide Footers
Displaying the Footer
Adding Custom Footer Text with a Script
Customizing the Footer Layout
Advanced Slide Formatting and Design
Slide Design Guidelines
Using the Slide Master to Get a Consistent Look
Viewing and Editing the Slide Master
Using Multiple Slide Masters
Ensuring Good and Consistent Design
Creating a Custom Color Scheme
Replacing Fonts
Changing a Picture's Colors
Some AutoShape Tricks
Drawing Circles and Squares
Drawing Shapes Quickly
Setting the Default Formatting For an AutoShape
Copying Object Formatting
Duplicating Shapes at Evenly Spaced Intervals
Setting the Default Font for Shape Text
Wrapping Text Within a Shape
Hiding Slide Master Shapes in a Slide
Advanced PowerPoint Animation Techniques
Animation Dos and Don'ts
Applying Built-In Animation Effects
Applying a Slide Transition
Applying an Animation Scheme
Creating a Custom Animation
Making Bullets Appear One at a Time
Animating a Chart by Series or Category
Animating Individual Chart Components
Animating an Organization Chart
Taking PowerPoint to the Next Level with Microsoft Producer

Chapter 4—Taming Access Data
Creating a Totals Query
Displaying the Total Row in the Design Grid
Setting Up a Totals Query On a Single Field
Setting Up a Totals Query On Multiple Fields
Filtering the Records Before Calculating Totals
Creating a Totals Query for Groups of Records
Grouping on Multiple Fields
Creating a Totals Query Using a Calculated Field
Creating a Totals Query Using Aggregate Functions
Combining Aggregate Functions and Totals
Calculating Units Left In Stock
Creating Queries that Make Decisions
Making Decisions with the IIf Function
Determining Whether Stock Needs to Be Reordered
Making Decisions with the Switch Function
Running Action Queries
Modifying Table Data with an Update Query
Removing Records from a Table with a Delete Query
Creating New Tables with Make-Table Queries
Adding Records to a Table with an Append Query
Preventing Form Errors by Validating Data
Helping Users with Text Prompts
Preventing Errors with Data Validation Expressions
Using Input Masks for Consistent and Accurate Data Entry
Using the Input Mask Wizard
Creating a Custom Input Mask Expression
Using Form Controls to Limit Data-Entry Choices
Working with Yes/No Fields
Using Check Boxes
Using Toggle Buttons
Using Option Buttons to Present a Limited Number of Choices
Running the Option Group Wizard
Creating an Option Group By Hand
Using Lists to Present a Large Number of Choices
Starting the List Box or Combo Box Wizard
Getting List Values from a Table or Query Field
Specifying Custom List Values
Getting List Values from the Current Table
Creating a Multiple-Column List
Using Text Boxes as Calculated Form Controls
Creating a Multiple-Column Report
Setting Up the Report
Tweaking the Page Setup
Troubleshooting Multiple Columns
Adding Calculations to a Report
Controlling Report Output
Adding Page Breaks After Sections
Starting Sections at the Top of a Row or Column
Avoiding Widowed Records

Chapter 5—Getting the Most Out of Outlook
Getting the Most Out of E-Mail
Customizing the Inbox Message Fields
Changing the Folder View
Sorting the Messages
Grouping the Messages
Defining a New Grouping
Easier Groupings with the Group By Box
Filtering the Messages
Defining a Custom View
Incoming Message Tricks
Using Rules to Process Messages Automatically
Creating a Rule from Scratch
Creating a Rule from a Message
Applying Colors to Messages from Specific Senders
Setting a Message Follow-Up Reminder
Cutting Your Mailbox Down to Size
Checking the Same Account from Two Different Computers
Outgoing Message Tricks
Creating an E-Mail Shortcut for a Recipient
Having Replies Sent to a Different Address
Using a Different SMTP Port
Getting the Most Out of the Calendar
Starting Outlook in the Calendar Folder
Using the Calendar Folder
Using the Date Navigator
Changing the Number of Days Displayed
Working with Calendar's Views
Other Navigation Techniques
Displaying a Second Time Zone
Adding Custom Holidays to Your Calendar
Printing a Blank Calendar
Taking Advantage of AutoDate
Color-Coding Appointments
Getting the Most Out of Contacts
Working with the Contacts Folder's Views
Editing Data for Multiple Contacts
Phoning a Contact
Quick Connections with Speed Dial
Adding a Picture for a Contact
Displaying Contact Activity

Part 2 — Office 2003 Sharing and Collaboration Tricks

Chapter 6—Office in Overdrive: Sharing Data Between Applications
Using the Office Clipboard
Setting Office Clipboard Options
Pasting Data in a Different Format
Using the Clipboard Contents in a Replace Operation
Inserting an Object from Another Application
Understanding Compound Documents
Understanding Linking
Understanding Embedding
Should You Link or Embed?
Linking an Object
Linking via the Clipboard
Inserting a File as a Linked Object
Managing Links
Embedding an Object
Embedding via the Clipboard
Inserting a New Embedded Object
Inserting an Embedded File
Editing a Linked or Embedded Object
More Office Tools for Sharing Data
Converting a Word Outline into a PowerPoint Presentation
Using Word to Custom Format PowerPoint Handouts
Importing Excel Data into Access
Exporting a Word Table to Access
Analyzing Access Data in Excel
Transferring Records Via the Clipboard
Using Analyze It with Microsoft Office Excel
Using Excel's Get External Data Feature
Publishing Access Data in Word
Merging Data from Access, Excel, and Outlook
Step 1: Opening the Main Document
Step 2: Selecting the Mail Merge Document Type
Step 3: Opening the Data Source
Selecting the Outlook Contacts Folder as the Data Source
Defining a New Data Source
Step 4: Selecting, Sorting, and Filtering the Recipients
Selecting Recipients
Filtering Recipients
Sorting Recipients
Step 5: Adding Text and Merge Fields
Inserting an Address Block
Matching Fields
Creating Letters and Envelopes at the Same Time
Inserting a Greeting Line
Inserting Data Source Fields
Inserting Word Fields
Personalizing Mail Merges with Fill-in Fields
Intelligent Merging I: The If Field
Step 6: Previewing the Results
Step 7: Completing the Mail Merge

Chapter 7—Working as a Team: Collaborating with Other Users
Collaborating on a Word Document
Inserting Comments
Tracking Word Document Changes
Working with Comments and Changes
Viewing Comments and Changes
Navigating Comments and Changes
Accepting or Rejecting Comments and Changes
Customizing Markup
Working with Document Versions
Creating a Master Document and Subdocuments
Creating a Master Document and Subdocuments from an Outline
Creating Subdocuments from Existing Documents
Working with Subdocuments
Embedding Fonts in Shared Documents
Sharing Excel Workbooks
Inserting Comments in Cells
Tracking Worksheet Changes
Sharing a Workbook
Updating a Shared Workbook
Working with Reviewers
Handling Conflicts
Collaborating Via Outlook
Sharing Office Documents Via E-Mail
Sending a Document as an E-mail Message
Sending a Document as an Attachment
Sending a Document with a Review Request
Routing Documents
Preparing Documents for Review
Sharing Your Outlook Folders
Sharing Your Folders with Permissions
Sharing Your Folders with Delegate Access
Accessing Shared Folders
Working with Another E-Mail Account as a Delegate
Requesting a Meeting
Sending Out a New Meeting Request
Planning a Meeting
Using SharePoint to Collaborate on Office Documents
Sharing Documents in a Document Library
Creating a New Document Library
Uploading an Existing Document
Creating a New Document
Opening a Document
Other Document Actions
Collaborating with a Shared Workspace
Sending a Shared Attachment
Removing Tracked Changes and Other Hidden Data

Chapter 8—Office Without Borders: Using Office Documents on the Web
Converting Office Documents to Web Pages
Converting a Word Document to a Web Page
Publishing an Excel Range, Sheet, or Workbook to the Web
Publishing a PowerPoint Presentation to the Web
Publishing an Outlook Calendar to the Web
Displaying Web Pages in Excel
Opening a Web Page in Excel
Excel's HTML Extension: The formula Attribute
Adding a Live Stock Price Quote to a Worksheet
Office and FTP
Inserting Hyperlinks in Office Documents
Hyperlinks and Word
Creating a Hyperlink Using AutoCorrect
Creating a Hyperlink from Scratch
Pasting a Hyperlink in Word
Hyperlinks and Excel
Hyperlinks and Access
Hyperlinks and PowerPoint

Chapter 9—Collaborating with a Tablet PC and OneNote
Office and Windows XP Tablet PC Edition
Understanding Ink Integration
Entering Text with the Tablet PC Input Panel
Using the Writing Pad
Using the Character Pad
Using the On-Screen Keyboard
Using the Office Ink Tools
Adding Ink to a Document
Editing Ink
Converting Ink to Text
Inking an E-mail Message
Collaborating with Ink
Adding Ink Annotations
Adding Ink Comments in Word
Working with Ink Annotations and Comments
Collaborating with OneNote 2003
Collaborating with OneNote and Outlook
Sending E-Mail Via OneNote
Creating Outlook Items
Inserting the Details of an Outlook Meeting
Sharing a Note-Taking Session
Starting a Shared Session
Joining a Shared Session
Working in a Shared Session
Sharing Notes with Other People
Moving Notes to a Shared Network Folder
Publishing to a Shared Network Folder

Part 3 — Office 2003 Customization Tricks

Chapter 10—Customizing Office to Suit Your Style
Displaying, Moving, and Sizing Toolbars
Menu and Toolbar Customization Options
Creating Custom Menus
First, a Game Plan
Customizing an Existing Menu
Creating a New Menu
Getting Easy Document Access with Word's Work Menu
Creating a New Submenu
Adding Menu Commands
Creating Custom Commands for Macros
Custom Macro Commands in Word, PowerPoint, and Access
Custom Macro Commands in Excel
Deleting Menus and Menu Commands
Creating Custom Toolbars
Customizing an Existing Toolbar
Creating a New Toolbar
Adding a Toolbar Submenu or Toolbar Button
Working with Button Images
Copying a Button Image
Assigning a Predefined Button Image
Using the Button Editor
Attaching a Toolbar to an Excel Workbook
Creating Custom Keyboard Shortcuts in Word
Customizing the Office Common Dialog Boxes
Adding a Folder to the My Places Bar
Customizing the My Places Bar Icons
Removing Icons from the My Places Bar

Chapter 11—Maximizing Office with VBA Macros
Using a VBA Macro
Running a Command Macro
Using a Function Macro
Using the Example Code
Recording a VBA Macro
Viewing the Resulting Module
Editing a Recorded Macro
Working with the Visual Basic Editor
Creating a Module
Opening a Module
Working with Macros
The Structure of Macro
Writing Your Own Macro
Running a Command Macro from the Visual Basic Editor
VBA Programming Basics
Understanding Program Variables
Declaring Variables
Variable Data Types
Building VBA Expressions
Understanding Expression Structure
VBA Operators
Working with Objects
Working with Object Properties
Setting the Value of a Property
Returning the Value of a Property
Working with Object Methods
Working with Object Collections
Assigning an Object to a Variable
Working with Multiple Properties or Methods
Code That Makes Decisions
Using If...Then to Make True/False Decisions
Using If...Then...Else to Handle a False Result
Using the Select Case Statement
Code That Loops
Using Do...Loop Structures
Using For...Next Loops
Using For Each...Next Loops
Using Exit For or Exit Do to Exit a Loop

Chapter 12—Putting VBA to Good Use: Practical Macros Everyone Can Use
Word Macros
Saving Frequently
Making Backups as You Work
Opening the Most Recently Used Document at Startup
Creating and Opening a Word Workspace
Displaying Sentence Word Counts
Finding the Longest Sentence
Toggling Hidden Codes and Text
Excel Macros
Assigning Shortcut Keys to Excel Macros
Toggling Gridlines On and Off
Creating a Workbook with a Specified Number of Sheets
Automatically Sorting a Range After Data Entry
Selecting A1 on All Worksheets
Selecting the "Home Cell" on All Worksheets
Selecting the Named Range that Contains the Active Cell
Saving All Open Workbooks
Outlook Macros
Creating Advanced Rules for Handling Incoming Messages
Supplementing a Reminder with an E-Mail Message
Prompting to Save Messages in the Sent Items Folder
Setting Up a Password-Protected Folder

Chapter 13—Taking Advantage of Access Macros
Writing Access Macros
Example: Opening a Report
Running Your Macro
Modifying Existing Macros
Using Names to Create Macro Groups
Example: Creating Access Shortcut Keys
Adding Macro Conditions
Associating Macros with Events
Adding a Macro to a Form
Creating a Macro Command Button
Example: Confirming Changes to a Record
Example: Transferring Data From One Form to Another
Adding a Macro to a Report
Report Section Events
Example: Calculating Page Totals
Troubleshooting Macros
Summary of Macro Actions

Part 4 — Office 2003 Security Tricks

Chapter 14—Securing Office 2003
Setting Document Security Options
Preventing Changes By Opening a Document as Read-Only
Using File Passwords and Encryption
More Options for Protecting Word Documents
Locking Document Formatting
Preventing Untracked Changes
More Options for Protecting Excel Workbooks
Protecting Individual Cells, Objects, and Scenarios
Setting Up Protection Formatting for Cells
Protecting a Range with a Password
Setting Up Protection Formatting for Objects
Setting Up Protection Formatting for Scenarios
Protecting a Worksheet
Protecting Windows and Workbook Structures
Assigning a Password to Your Outlook Personal Folders
Protecting Access Data with Passwords and Permissions
Setting a Database Password
Setting User-Level Database Permissions
Protecting Your Privacy
Setting Document Privacy Options
Using the Remove Hidden Data Tool
Removing Other Private Data
Removing Hidden Text
Removing Hyperlinks
Remove Document Variables
Removing Field Codes with Links
Controlling VBA Security
Setting the Macro Security Level
Self-Certifying Your VBA Projects
Locking a VBA Project

Chapter 15—Enhancing Outlook E-Mail Security and Privacy
Guarding Against E-Mail Viruses
Working with Security Zones
Checking the Outlook Security Zone
Viewing a Restricted Message Using the Internet Zone
Disabling HTML and Rich Text
Handling Attachments
Controlling Third-Party Access to Your Contacts
Controlling Third-Party Access to Sending Messages
Blocking Spam Messages
Setting the Junk E-mail Protection Level
Specifying Safe Senders
Specifying Safe Recipients
Blocking Senders
Blocking Countries and Languages
Maintaining Your Privacy While Reading E-Mail
Controlling Read Receipts
Squashing Web Bugs
Sending and Receiving Secure E-Mail
Setting Up an E-mail Account with a Digital ID
Obtaining Another Person's Public Key
Sending a Secure Message

Appendix A: Working with the Windows Registry
Understanding the Registry
Taking a Tour of the Registry
Navigating the Keys Pane
Understanding Registry Settings
Getting to Know the Registry's Root Keys
HKEY_CLASSES_ROOT (HKCR)
HKEY_CURRENT_USER (HKCU)
HKEY_LOCAL_MACHINE (HKLM)
HKEY_USERS (HKU)
HKEY_CURRENT_CONFIG (HKCC)
Understanding Hives and Registry Files
Keeping the Registry Safe
Backing Up the Registry
Saving the Current Registry State with System Restore
Protecting Keys By Exporting Them to Disk
Exporting a Key to a Hive File
Importing a Hive File
Working with Registry Keys and Settings
Changing the Value of a Registry Entry
Editing a String Value
Editing a DWORD Value
Editing a Binary Value
Renaming a Key or Setting
Creating a New Key or Setting
Deleting a Key or Setting
Finding Registry Entries


Copyright © 1995-2008 Paul McFedries and Logophilia Limited