or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Writing Word Macros
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Writing Word Macros [Paperback]

Steven Roman PhD (Author)
2.8 out of 5 stars  See all reviews (22 customer reviews)

List Price: $49.99
Price: $41.64 & this item ships for FREE with Super Saver Shipping. Details
You Save: $8.35 (17%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $41.64  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

1565927257 978-1565927254 October 22, 1999 Second Edition

Many Microsoft Word users and VBA programmers don't realize the extensive opportunities that exist when Word's Object Model is accessed using Visual Basic for Applications (VBA), which replaced WordBasic in conjunction with the release of Word 97. By creating what is commonly called a "Word Macro" you can automate many features available in Word. Writing Word Macros (previously titled Learning Word Programming is the introduction to Word VBA that allows you to do these things and more, including:

  • 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.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Writing Word Macros + Word 2007 Macros & VBA Made Easy (Made Easy Series) + Word 2007 Document Automation with VBA and VSTO (Wordware Applications Library)
Price For All Three: $80.26

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Word 2007 Macros & VBA Made Easy (Made Easy Series) $12.25

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Word 2007 Document Automation with VBA and VSTO (Wordware Applications Library) $26.37

    Usually ships within 7 to 13 days.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Steven Roman, Ph.D., is a professor emeritus of mathematics at the California State University, Fullerton. His previous books with O'Reilly include "Access Database Design and Programming", "Writing Excel Macros with VBA", and "Win32 API Programming with Visual Basic".


Product Details

  • Paperback: 410 pages
  • Publisher: O'Reilly Media; Second Edition edition (October 22, 1999)
  • Language: English
  • ISBN-10: 1565927257
  • ISBN-13: 978-1565927254
  • Product Dimensions: 9.2 x 7 x 0.8 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 2.8 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon Best Sellers Rank: #754,015 in Books (See Top 100 in Books)

 

Customer Reviews

22 Reviews
5 star:
 (5)
4 star:
 (4)
3 star:
 (2)
2 star:
 (3)
1 star:
 (8)
 
 
 
 
 
Average Customer Review
2.8 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

40 of 42 people found the following review helpful:
3.0 out of 5 stars Too little detail, too much padding, August 30, 2000
By 
Amazon Verified Purchase(What's this?)
This review is from: Writing Word Macros (Paperback)
I am a programmer and have been looking for a source to give me a heads up on VBA and Word macros. This book misses the mark. While I knew VBA was a subset of VB, I didn't realize that VBA was much closer to VB than a simple scripting language. While this isn't a bad thing, the first half of the book attempts to cram all the VB skills needed into small paragraphs. There is just enough detail to make a novice dangerous and frustrated. When I finally got to the meat of the book, the Word object, Roman states that he won't be going into it in detail, but only briefly. I bought the book just so I could find out about the Word object!

Another item that becomes readily apparent is that Roman felt the need to bulk up the book by restating meaningless statistics at every opportunity. I easily read 5-6 times that there are 188 Word objects compared to Access' 51 (like it matters) or Excel's 184 (so what?). After stating it in paragraphs numerous times, he even shows a graph comparing the different applications objects. He also spends a good amount of time plugging other books he has written or software he has for sale. The book does contain enough detail to learn the basics of Word Macros, but if you're already a programmer, you probably wont get enough detail to satisfy you. If you are new to programming, you may get frustrated by the scant detail on the VBA language itself.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


35 of 38 people found the following review helpful:
5.0 out of 5 stars Superb book for those with some programming background, November 16, 2002
By A Customer
This review is from: Writing Word Macros (Paperback)
I must admit that I'm a bit baffled by some of the other reviews I have read of this title. This is, quite frankly, a superb book -- although perhaps not suitable for absolute beginners.

I have programmed in several other languages, but have only lately had the need to attack VBA for some projects at work, and found Word's online help frustratingly incomplete. This book's strength is that it complement's the online help and provides a deeper insight into how VBA "thinks." Other readers apparently were looking for more of a cookbook, with lots of full-figured, prewritten code, but I found that the code examples in the book, though short, provided *immediate* solutions to some problems I was facing in the code I was writing, and were sufficiently modular to be easily played-with and adapted to what I was doing. I also found another reviewer's accusation of bloat and padding in the book to be very much off the mark -- the density of useful information on a typical page of this book is much higher than in many computing titles I've read.

Bottom line: anyone with some background coding in other languages, who finds themself in the position of having to solve problems in the Word macro environment, should snap this book up at the bargain price. [An added kudo for Amazon.com: I ordered this book (admittedly with second-day shipping) from Amazon.com on Thursday afternoon, and had it in my office the next morning. That excellent order-fulfillment performance proved particularly valuable for me on this go-round!]

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


25 of 26 people found the following review helpful:
3.0 out of 5 stars Review of Writing Word Macros, June 6, 2000
This review is from: Writing Word Macros (Paperback)
I needed a book to carry me over from WordBasic to VBA. While the book was helpful, I found the examples woefully inadaquate.

I, nor anyone else in my office, is writing a book, so the examples relating to writing 'this' book, seemed foreign. More examples of data selection and range manipulating would be more useful. However, the chapter covering tables was useful, and I refer to it often.

I thought the book struggled with keeping elementary and advanced concepts seperate.

I would not recommend this book for a first time macro user, but rather someone who has had some experience with Visual Basic or WordBasic.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject