Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $34.99
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

Foolish Assumptions
How This Book Is Organized 9
How This Book Is Organized
Book I: Office 2003 Essentials
Book II: Understanding Office Programming
Book III: Maximizing Word
Book IV: Making the Most of Excel
Book V: Advanced Access
Book VI: Exploiting Outlook
Book VII: InterOffice: Working as a Team
Conventions Used in This Book
Find All the Code Online 15
Find All the Code Online
The Searchable VBA/VB.NET Dictionary
What You Need to Get Started
Icons Used in This Book 17
Icons Used in This Book
Chapter 1: Getting with the Program
Modifying the User Interface
Turning off mini help
Modifying menus
Editing menus
Creating your own menus
Customizing shortcut menus
Personalizing Toolbars 29
Personalizing Toolbars
Adding hyperlinks
Vaporizing interface elements programmatically
Restoring Classic Key Behaviors 37
Customizing the Keyboard
Restoring Classic Key Behaviors
Getting Online Help
Chapter 2: Programming Lite: Making the Most of Macros
Discovering the Pluses of Macros
Recording Macros 43
Recording Macros
Recording a simple Word macro
Understanding the VBA behind recorded macros
Using Special Macros in Access
Creating an Access macro
Working with Auto Macros 49
Converting Access-style macros to VBA
Working with Auto Macros
Dealing with Macro Security Issues: What You Need to Know 51
Dealing with Macro Security Issues: What You Need to Know
Adjusting macro settings
Triggering trouble
Setting security for your needs
Chapter 3: What’s New in 2003?
Opening Task Panes
Security: Adjusting Permissions and Protections 61
Security: Adjusting Permissions and Protections
SharePoint Everywhere
Sharing with Document Workspaces
Introducing OneNote
XML under Everything
Using InfoPath with Word
Using InfoPath with Excel
Checking Out Outlook’s New Features
Chapter 1: The Basics of Office Development with VBA
Discovering the IDE
Navigating the Complex VBA Vocabulary
Using AutoListMembers and parameter info
Displaying a reminder
Using the Object Browser
Understanding Objects 79
Understanding Objects
Should You Go Fully OOP? 81
Should You Go Fully OOP?
Encapsulation
Instantiation woes
Using Events
Chapter 2: Managing Data
Understanding Variables
Creating Variables
Explicit Variable Declaration and Data Types 91
Explicit Variable Declaration and Data Types
Using Operators and Expressions 93
Using Operators and Expressions
Testing True or False
Using arithmetic operators
Combining Variant variables
Using logical operators
Operator precedence
Variables versus Constants
Arrays — Cluster Variables103
Arrays — Cluster Variables
Creating a Very Useful File Search Utility
Making Decisions via Branching
Understanding If...Then
Multiple choice: The Select Case command
Chapter 4: Managing Files and UserForms
Communicating with the Hard Drive
Loading files in Word and Excel
Loading files in Access
Saving files
Creating User Interfaces133
Creating User Interfaces
The UserForm as a container
Displaying a UserForm from a macro
Engaging the User with Dialogs
Understanding Controls
The Label control
The TextBox control
The ComboBox control
The ListBox control
The CheckBox control
The OptionButton control
The ToggleButton control
The Frame control
The CommandButton control
The TabStrip and MultiPage controls
The ScrollBar control
The SpinButton control
The Image control
Chapter 5: Moving to the Internet
Taking Office 2003 to the Web
Moving Office to the Web
Loading Additional Controls153
Loading Additional Controls
Using the Web Controls
Publishing an Excel Spreadsheet155
Publishing an Excel Spreadsheet
Securing a Spreadsheet: Protecting Cells
Publishing Access Data
Creating a data access page
Deploying a data-access page
Security: Locks on Top of Locks165
Security: Locks on Top of Locks
Securing databases
Protecting data-access pages
Protecting your code
Chapter 6: Debugging
Typos in Commands and Variables
Command Name Errors as Typos
Understanding Syntax Errors173
Understanding Syntax Errors
Handling Runtime Errors
How Runtime Errors Occur
Using On Error or Try...End Try175
Using On Error or Try...End Try
Using On Error (VBA)
The VB.NET version: Structured trapping
Tracking Down Logic Errors
The watchful voyeur technique
Using Debug.Write or Debug.Print
The Add Watch Technique
Setting Breakpoints
Setting conditional breakpoints in VBA
Setting conditional breakpoints in .NET
Alternative Debugging Strategies189
Alternative Debugging Strategies
Step Over
Step Out
Run to Cursor
Set Next Statement
Show Next Statement
Call Stack
Chapter 1: The Word Object Model
Dissecting the Document197
Dissecting the Document
Editing text
Search and Replace
The Find Object’s Properties207
The Find Object’s Properties
Trapping Events
Chapter 2: Power Editing
Selecting Text Quickly
Making Snappy Retorts . . . er, Repeats
Going Backward with Undo
Mastering Quick Maneuvering213
Mastering Quick Maneuvering
Viewing a document
Searching within a document
Introducing Smart Documents
Programming with Fields
Inserting fields
Using the Fields collection
Importing Data221
Importing Data
Mass Mailings with Mail Merge
Chapter 3: Using XML in Word
Introducing Word XML
XML in Word231
XML in Word
Deeper into WordML
The Word XML Content Development Kit
Programmatic XML
Adding a reference
Choosing XML Options in Word
Working with XML in Word’s Special Editor
Creating a practice schema
Using the XML Structure Task Pane
Building your XML document
Chapter 4: The Internet Connection
Creating Web pages in Word
Creating Web Pages in Word
Saving as a Web Page: The Three Kinds of Files
Adjusting the Web Options Settings
Building a Web Page in Word245
Building a Web Page in Word
Using the Web Tools Toolbar
Adding scrolling text
Adding background texture
Scripting in Word Web Pages251
Scripting in Word Web Pages
Testing your Web page
Understanding scripting’s drawbacks
Chapter 5: Advanced Word Macros
Writing Macros 101
Interception: Modifying Built-In Word Features
Using Macros for Specialized Formatting
Naming shortcut keys
Storing macros
Automating Macro Execution
The Best Word Macros of All Time
Redefining ordinary keys
Switching windows and deleting words
Assigning normal style
Assigning an anti-table macro
Toggling revisions
Accepting all changes
Using WordCount
Chapter 1: The Excel Object Model
Understanding the Excel object hierarchy
Understanding the Excel Object Model
How to Use Excel VBA
Adding a Workbook273
Adding a Workbook
Referring to Me
Creating a New Instance of Excel275
Accessing the active cell
Creating a New Instance of Excel
Using the Application Object
Working with Ranges277
Working with Ranges
The A1 style reference
The R1C1 style reference
Using the Offset method
Using the Names collection
Accessing special ranges
Transforming a selection into a range
Creating a Chart
Chapter 2: Handling Excel Events
Programming an Excel Event
Events in the Worksheet Object289
Events in the Worksheet Object
Writing Chart Events
Writing Application Events
Chapter 3: Advanced Worksheet Editing
Importing Data into Excel
Importing an Access Database297
Importing an Access Database
Importing Data from an XML Dataset299
Importing Data from an XML Dataset
Programmatically Creating a Dataset
Adding Shapes and Pictures303
Adding Shapes and Pictures
Augmenting Find and Replace305
Augmenting Find and Replace
Understanding Find methods
The Replace method
Chapter 4: Data Diving with Pivot Tables
What Is a PivotTable?
Creating a Pivot Table313
Creating a Pivot Table
The Table Pivots317
The Table Pivots
Collapsing the pivot table
A sudden surprise
Creating Instant Pivot Charts321
Creating Instant Pivot Charts
Modifying the Data in a PivotTable
Refreshing pivot table data
Automatically updating pivot table data
Seeking Goals with Goal Seek
Using Scenarios327
Using Scenarios
The KeyCodes
Detecting Shift, Alt, and Ctrl
Selecting from a ListBox
Sending a Workbook via E-mail
Differentiating Select from Activate
Chapter 1: Access Today
Understanding Access’s Limitations
Adding Acess 2003 Developer Extensions
Adding Access 2003 Developer Extensions
Adding Smart Tags355
The Package Wizard and the Custom Startup Wizard
The Property Scanner
Adding Smart Tags
Exploiting XML support
Using the new desktop server
Using improved data access pages
Using augmented forms and reports
Chapter 2: Programming Access
Introducing Access objects
Introducing Access Objects
Adding a New Access Table369
Adding a New Access Table
Understanding Microsoft Database Technologies
The great Babel
Understanding Open Database Connectivity
Access and the Future of Database Management
The recent legacy: Data Access Objects (DAO)
Understanding ActiveX Data Objects
Working with the DataSet Object377
Working with the DataSet Object
Collections within collections
Substituting names (mapping)
What If Someone Else Modifies the Database in the Meantime?
What If Someone Else Modifies the Database in the Meantime?
Optimism versus pessimism
Comparing versions with optimistic concurrency
Getting Results in Seven Easy Steps
Chapter 3: Manipulating Datasets
Loading Access Tables into VB.NET Projects
Generating a Dataset for an Imported Database
Case Study: Maintaining Alphabetical Order389
Case Study: Maintaining Alphabetical Order
Filtering with Select391
Filtering with Select
Alphabetizing with Select
One is sorted, the other isn’t
Automating How to Access a Form
Understanding SendKeys
SendKeys and SendWait
Sending nonprinting keys
Displaying a Report417
Automating the Runtime
Displaying a Report
Chapter 5: Troubleshooting in Access
Error Management in Access
Understanding Option Explicit and Option Strict
Locating the Error event, part II
Adding a custom error message
Sandbox Mode: Adjusting Macro Security
Backing Up for Safety425
Backing Up for Safety
Automatic Form and Report Error Checking
Chapter 6: Access Macro Techniques
Understanding the Languages of Access
Creating Macros without a Recorder
Using DoCmd433
Using DoCmd
Seeing Built-in VBA Language Features
Using Classic Error Trapping435
Using Classic Error Trapping
Using Keyboard Shortcuts
Chapter 1: Outlook Power Tools
Using Outlook’s New Reading Pane
Adjusting the Nasty Read Filter
Managing Multiple Accounts443
Managing Multiple Accounts
Blocking Spam and Virii445
Blocking Spam and Virii
Using Encryption
Flagging E-mail
Using Special Folders449
Using Special Folders
Using Twin Calendars451
Using Twin Calendars
Chapter 2: Programming Outlook
Discovering the Outlook Object Model
Using the Outlook Object Model455
Using the Outlook Object Model
Why namespaces?
Import or qualify
Practical advice about namespaces
Using the MAPI Namespace459
Using the MAPI Namespace
Using Practical VBA in Outlook
Handling Events
Advanced Searching
Chapter 3: Managing Work and Life
Do This First
Sending Access Data into Outlook
Displaying a Folder Item471
Displaying a Folder Item
Creating a New Contacts Folder
Making Mass Modifications473
Making Mass Modifications
Searching Tasks
Using Calendar Automation475
Using Calendar Automation
Using non-Outlook e-mail programs
Outside Outlook: Extracting Data from Outlook to Word479
AppointmentItem members
Outside Outlook: Extracting Data from Outlook to Word
Using the New Business Contact Manager481
Using the New Business Contact Manager
Chapter 4: Expert E-Mail Administration
Exploring Messaging Management
Routing: Out of Office Assistant485
Routing: Out of Office Assistant
Using Multiple E-Mail Accounts
Using Exchange Server
Working with Send/Receive Groups
Avoiding Virii491
Avoiding Virii
Chapter 5: Group Management in Outlook
Using Profiles
Sharing Calendars
Setting up your own site
Using Microsoft’s Free/Busy Service
Planning Meetings
Responding to invitations
Tracking responses
Setting up resource responses
Chapter 6: Advanced Outlook Macros
Interacting with Other Office Applications
Trapping Events507
Getting incoming mail
Intercepting outgoing mail
Searching via Iteration509
Searching via Iteration
Bringing Macros to the User511
Bringing Macros to the User
Creating a UserForm
Adding macros to your toolbar
Chapter 1: Collaboration Features Overview
Exploring OneNote
Handwriting in OneNote
Recording in OneNote
Sending a OneNote document
Side notes in OneNote
Saving a side note
Introducing SharePoint
Sharing Outlook Contacts
Shared Workspaces525
Levels of permission
Shared Workspaces
Conquering the version problem
Establishing a Meeting Workspace
Chapter 2: Managing Shared Documents
Restricting Documents with IRM
Viewing IRM-protected files
Phase Two: Authentication
Setting permissions in IRM
Using IRM in Outlook
Changing Workspace Options
Using Word’s Protect Document Feature537
Using Word’s Protect Document Feature
Managing Versions in Word539
Managing Versions in Word
Chapter 3: XML and Office
Communicating via a Web Page
Adjusting Web page properties
Seeing the code
Filling out the Web page
Scripting
Scripting in Excel
The simplest page
Scripting errors
Debugging Script
Typos
Impossible commands
Using MSXML Core Services
Using Forms for Interaction
Chapter 4: Working with InfoPath
Introducing InfoPath
Understanding How InfoPath Is Divided
InfoPath for the designer
InfoPath for the user
Trying Out InfoPath565
Trying Out InfoPath
Designing the main sections of a form
Adding controls
Seeing the data hierarchy
Generating an InfoPath Form from XML
Generating a Form from a Database573
Generating a Form from a Database
Jumping Java Babies577
Jumping Java Babies
Chapter 5: Adding Smart Tags
Why Bother Programming Your Own Tags?
Understanding Smart Tags
Working with a Smart Tag
Smart Tags in Word583
Smart Tags in Word
Programming with Smart Tags
Experimenting in Excel
Creating Your Own Smart Tags585
Manipulating tags in VBA
Creating Your Own Smart Tags
Creating your first Smart Tag
Triggering your tag to test it
Feeding data to an Internet site
Chapter 6: Exploring Smart Documents
First Things First: Downloading the SDK
Understanding Smart Documents
Security measures
Disabling security
Deployment simplified
The Building Blocks of a Smart Document
Programming Smart Documents
Simple XML Smart Document programming
Attaching a schema
Attaching the XML Expansion Pack
If you have problems
Understanding Smart Document source code
Source code inflation goes wild
Programming moves to the computer
Lists upon lists
Modifying the Template
Chapter 7: Using Project 2003
Taking a Look at Project 2003
Creating a new project
Exploring dependencies in Project
Building a Project from Scratch
Understanding a Gantt chart
Seeing milestones
Adding Outlook functionality to a project
Managing the Version Problem623
Managing the Version Problem
Chapter 8: Employing SharePoint
Deciding Why to Use SharePoint
Seeing SharePoint features and integration
Setting permissions in SharePoint
Installing SharePoint
Using The SharePoint Task Pane
Exploiting Scalability in SharePoint631
Exploiting Scalability in SharePoint
Finding SharePoint Solutions
File sharing and collaboration
Intranet capabilities
Using SharePoint with Office 2003 Applications633
Web page management
Using SharePoint with Office 2003 Applications
XML and InfoPath
Outlook and Document Workspaces
OneNote
Introducing ASP.NET635
Access
Introducing ASP.NET
Adding dynamism to Web pages
Aiding the programmer
Discovering the Purpose of ASP.NET637
Discovering the Purpose of ASP.NET
Solved security
Seeing the New Advantages of ASP.NET639
Segregated source files
Seeing the New Advantages of ASP.NET
A shared IDE
Easier deployment
Chapter 1: Advanced Office 2003 Programming
Understanding Class Hierarchies
Fighting Class Warfare
Properties are methods are properties
Tautology runs wild
Deciding When to Use VB.NET
The Buzzwords
Understanding Streams647
Understanding Streams
Streaming basics
Stream writing
Creating Add-Ins653
Creating Add-Ins
Programming your own add-in
Adjusting add-in loading behavior
Chapter 2: Exploring XML
An XML Primer
Seeing XML Support in Office
Exploiting Extensibility in XML665
Exploiting Extensibility in XML
Comparing XML and HTML
Deciding Whether to Use an Element or Attribute667
Deciding Whether to Use an Element or Attribute
Understanding XML Terminology
Nesting within XML
Using data islands in XML
Paying attention to XML strictness
Using Namespaces in XML671
Seeing the Many Faces of XML
Using Namespaces in XML
Using explicit declaration
Using implicit declaration
The Explosion of Schemes
Understanding XSD673
Understanding XSD
Using XML data types
Specifying Content in an XML Schema677
Declaring simple XML data types
Specifying Content in an XML Schema
Extending a Schema
Using the Content Attribute
Using Office XML Programming681
Using Office XML Programming
Viewing and applying a schema
Dropping an entire XML file
Programmatic XML Manipulations
Adding a node
Adding child nodes and data
Chapter 3: Employing Objects
Looking at OOP
Understanding Fundamental OOP
Employing Practical VBA Objects691
Employing Practical VBA Objects
Distributed instantiation
Early and late binding
Understanding .NET Data Types
Declaring in VBA695
Declaring in VBA
Discovering the Changes in VB.NET
Variants go away
DefTypecommands are gone
Mix types within a Dim list
You can no longer use ReDim in place of the Dim command
Declare the same variable name in more than one location
Strongly typed
Declaring arrays in .NET
Declaring with symbols
Changes to values and parameters
Bidding farewell to the Set command
Using VBA Events701
Using VBA Events
Using VBA Collections
Using Arrays of Objects
Chapter 4: Advanced Internet VBA
Looking at Web Services
Discovering Why Web Services Matter709
Discovering Why Web Services Matter
Understanding distributed computing
Reviewing Web Services Highlights711
Discovering the tools for translation
Reviewing Web Services Highlights
Solving migration issues
Seeing How Web Services and XML Dance713
Solving interoperability issues
Seeing How Web Services and XML Dance
Seeing Web Services at Work in Office 2003
Replacing VBA with VB.NET
Adding a Web Service to VBA code
Creating Your First Web Service717
Creating Your First Web Service
Chapter 5: Working with .NET
Understanding .NET
Seeing the need for .NET
Seeing the benefits of VB.NET
Using .NET to Facilitate Software Services
Using .NET for Internet initiatives
Using .NET and databases
Finding .NET Programming Help
Chapter 6: Using Visual Studio Tools for Office 2003
Following Correct Setup
If You Have Problems
Communicating between .NET and Office Applications
Why use VSTO?
The five ways to program Office
Understanding VSTO
Creating Your First Visual Studio Tools for Office Project739
Creating Your First Visual Studio Tools for Office Project
When to touch the untouchable
Adding your code
Adjusting .NET security (don’t do this)
Chapter 7: Office 2003 Security
Getting to the Heart of the Problem: People
Hope springs eternal
Understanding Office 2003 Security Initiatives747
Some protection helps
Understanding Office 2003 Security Initiatives
Using IRM
Hiding files
Going beyond IRM
Setting Up Virus Protection751
Setting Up Virus Protection
The Security Properties Dialog Box753
The Security Properties Dialog Box
Encryption options
File saving considerations
Using strong encryption
Editing permission settings
Removing embarrassing comments
Preventing tracing
Macro security
Avoiding Data Loss
Chapter 8: No More Paranoia: Programmatic Encryption
Securing Your Private Information
Comparing the Two Encryption Tactics
Understanding Office Encryption763
Understanding Office Encryption
Write Your Own Encryption Utility
Using RSA
Powering Up DES Encryption769
Powering Up DES Encryption
Making it public
Can it be cracked?
Choosing a good password
Encrypting in VB.NET
Streaming the encryption
Generating a password
Understanding what does a key does
Finishing the Program779
Finishing the Program
Displaying mangled text
Trying the program
Making it happen
Going beyond paranoiac to psychoiac
Saving changes
Using Streams to Avoid Storing Plaintext on Disk
Index
P. 1
Office 2003 Application Development All-in-One Desk Reference For Dummies

Office 2003 Application Development All-in-One Desk Reference For Dummies

Ratings: (0)|Views: 57 |Likes:
Published by Wiley
Covers the new features, tools, and technologies in Office 2003 and demonstrates how developers can extend, enhance, and customize the suite using VisualBasic for Applications (VBA) More than 800 pages of clear and friendly For Dummies advice and instructions help developers get up to speed fast, improve workflow, and get the job done Packed with helpful real-world examples, including creating an Office document collaboration manager, automating e-mail routing, administering the Task Pane from within an application, and building a distributed business system using Web services The eight minibooks cover Office 2003 essentials; understanding Office programming; maximizing Word; making the most of Excel; advanced Access; exploiting Outlook; InterOffice; working as a team; and power techniques such as advanced Office automation, VBA, and .NET
Covers the new features, tools, and technologies in Office 2003 and demonstrates how developers can extend, enhance, and customize the suite using VisualBasic for Applications (VBA) More than 800 pages of clear and friendly For Dummies advice and instructions help developers get up to speed fast, improve workflow, and get the job done Packed with helpful real-world examples, including creating an Office document collaboration manager, automating e-mail routing, administering the Task Pane from within an application, and building a distributed business system using Web services The eight minibooks cover Office 2003 essentials; understanding Office programming; maximizing Word; making the most of Excel; advanced Access; exploiting Outlook; InterOffice; working as a team; and power techniques such as advanced Office automation, VBA, and .NET

More info:

Publish date: Jan 1, 2004
Added to Scribd: Dec 20, 2012
Copyright:Traditional Copyright: All rights reservedISBN:9780764577123
List Price: $34.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

10/01/2014

842

9780764577123

$34.99

USD

You're Reading a Free Preview
Pages 17 to 20 are not shown in this preview.
You're Reading a Free Preview
Pages 37 to 131 are not shown in this preview.
You're Reading a Free Preview
Pages 148 to 356 are not shown in this preview.
You're Reading a Free Preview
Pages 373 to 423 are not shown in this preview.
You're Reading a Free Preview
Pages 440 to 842 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download