買這商品的人也買了...
-
$580$458 -
$680$537 -
$1,029Operating Systems: Internals and Design Principles, 4/e
-
$970Introduction to Algorithms, 2/e
-
$920$727 -
$1,550$1,473 -
$880$695 -
$690$587 -
$780$741 -
$590$466 -
$690$538 -
$720$562 -
$780$616 -
$580$458 -
$750$675 -
$560$504 -
$880$695 -
$450$351 -
$480$379 -
$750$593 -
$720$569 -
$280$238 -
$780$616 -
$780$663 -
$650$514
相關主題
商品描述
- Create custom pop-up menus
- Automatically create tables from lists
- Append one document to the end (or beginning) of another
- Create a toggle switch to change a document from draft to final copy by
adding or removing a watermark in the header
- Generate reports using data from other applications
Not intended to be an encyclopedia of Word programming, Writing Word Macros provides Word users, as well as programmers who are not familiar with the Word object model with a solid introduction to writing VBA macros and programs. In particular, the book focuses on:
- The Visual Basic Editor and the Word VBA programming environment. Word
features a complete and very powerful integrated development environment for
writing, running, testing, and debugging VBA macros.
- The VBA programming language (which is the same programming language used
by Microsoft Excel, Access, and PowerPoint, as well as the retail editions of
Visual Basic).
- The Word object model. Word exposes nearly all of its functionality through its object model, which allows Word to be controlled programmatically using VBA. While the Word object model, with almost 200 objects, is the largest among the Office applications, readers need be familiar with only a handful of objects. Writing Word Macros focuses on these essential objects, but includes a discussion of a great many more objects as well.
Writing Word Macros is written in a terse, no-nonsense manner that
is characteristic of Steven Roman's straightforward, practical approach. Instead
of a slow-paced tutorial with a lot of hand-holding, Roman offers the essential
information about Word VBA that you must master to program effectively. This
tutorial is reinforced by interesting and useful examples that solve practical
programming problems, like generating tables of a particular format, managing
shortcut keys, creating fax cover sheets, and reformatting documents.
Writing Word Macros is the book you need to dive into the basics of
Word VBA programming, enabling you to increase your power and productivity when
using Microsoft Word
Table of Contents
Preface
1. Introduction
2. Preliminaries
I. The VBA Environment
3. The Visual Basic Editor, Part I
4. The Visual Basic Editor, Part II
II. The VBA Programming Language
5. Variables, Data Types, and Constants
6. Functions and Subroutines
7. Built-in Functions and Statements
8. Control Statements
III. Objects and Object Models
9. Object Models
10. The Word Object Model
11. The Application Object
12. The Document Object
13. The Section and HeaderFooter Objects
14. The Range and Selection Objects
15. The Find and Replace Objects
16. The Table Object
17. The List Object
18. Shortcut Key Bindings
19. Built-in Dialog Objects
20. Custom Dialog Boxes
21. Menus and Toolbars
IV. Appendixes
A. Programming Word from Another Application
B. The Shape Object
C. Getting the Installed Printers
D. High-Level and Low-Level Languages