Writing Word Macros
| |||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||
| Sort customer reviews by: | |||||||||||||||||||||||||||||
|
Show All Reviews on Page
Hide All Reviews on Page
| |||||||||||||||||||||||||||||
| Writing Word Macros | |||||||||||||||||||||||||||||
|
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 Officeapplications, 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. |
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 8 of 8 | |||||||||||||||||||||||||||||
| Review Date |
Review Rating(5 High) |
Review Helpful to: |
Customer Review | Reviewer Info |
Permanent Link |
||||||||||||||||||||||||
| Reader Reviews Below Sorted by Newest First | |||||||||||||||||||||||||||||
| 09-28-08 | 1 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book is weird. Who is it written for? At the back of the book there is a little appendix telling you all about Fortran, C++, and other things which have nothing to do with the book's topic.
The title is "writing word macros" but you can find much better information about that on the internet than in this book. For some bizarre reason the author prints out pages upon pages of lists of all the properties and methods of objects - just trying to fill out space? The oddest thing about the book is that the cover keeps curling up. Also the printing quality in the copy I got is diabolical - it looks like it was printed on a cheap laser printer with a shortage of toner. Save your money. (Review Data Last Updated: 2008-11-28 12:58:07 EST)
|
|||||||||||||||||||||||||||||
| 08-20-08 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Many of the reviews here are very unfair to this book.
Overall, this is an excellent book. Steven Roman covers exactly what you need to know about Word programming. As the author states in his intro, this book does not do any handholding and it's not padded with extraneous junk. It gives you just the facts and enough information to get you started. This book is not for beginners - it's directed at someone who has a reasonable competency in programming. Not an advanced progarmmer; just a basic knowledge of VB and an idea of how to work with Objects. Note he often does not give big sections of code which you can just slightly modify to get it to do what you want. He gives short illustrations that any programmer would know how to integrate into existing code. The first 9 chapters are virtually the same as the first 9 chapters of another one of his books, Writing Excel Macros with VBA. This is provided to get non-programmers up to speed before the real meat of the book, which starts on page 128. (Review Data Last Updated: 2008-09-29 11:05:09 EST)
|
|||||||||||||||||||||||||||||
| 05-02-08 | 4 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I have noticed that certain number of commentators did not give this book high mark. I wonder why?
First of all let me introduce myself. I have been electronic engineer, system engineer and a programmer for the last 20 years. I follow this MS Word thing from about its first versions up to now. You do not want to hear how many languages I have or I have had in my pocket. My first steps in Visual Basic for Applications has been so old that I do not remember when exactly I have been involved in the matter. Most of my knowledge of VBA and with lots of other fields started with no books at all. The author Mr. Roman says very clearly that Word macros scheme is so large that his intention is not to cover all, or even most of these objects, but to acquaint the audience with the major portions of it in order to EASE LEARNING. I also would like to point out that the editor's note on Amazon also brilliantly says: "Not intended to be an encyclopedia of Word programming". And finally who would expect that some topic with more than 3,000 properties and methods could be just put in a book with less then 400 pages altogether? From these reasons I consider the book is properly advertised and the marks given to the book should only judge about what the book promise and what it delivers. And it delivers a lot. What I personally needed was a book on Word objects and here it is. Longer than decade I needed a book on Word macros, and this author seems to be the only one who dares to go for adventure of giving an insight into this topic. I think he did the most he could; otherwise he would need 5 years more to write the encyclopedia, and we should not like that, should we? For this discussion it is important that generally the Microsoft company has made a very hard life to programmers, with version inconsistency, with peculiar solutions, abandoning standardizations and trying to enforce just private rules, with monopoly and with a lot of other problems that I do not want to enumerate in this letter. In spite of that, this author did the best job of bringing the controversial Word macros topic much closer to the broad public that he deserves applause. For that I give him 4 stars. (Review Data Last Updated: 2008-08-20 11:35:23 EST)
|
|||||||||||||||||||||||||||||
| 04-08-06 | 1 | 10\11 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is probably the best book one can buy for learning VBA and Word. That said, one should also note that it is a terrible book. The trouble is that there is no other book available that covers this subject.
I refer to this book all the time I am trying to program VBA, but most of the time the book is no more help than what I can get by using Microsoft help. I have wasted hundreds of hours (no exaggeration) trying to find out information that should be in this book but is not there. He makes a plug for you to send him money for his "enhanced object model browser" because the one in Word "gives only a flat one-dimensional view of the object model" whereas his is "two-dimensional". He nowhere explains what he means by those terms, and the illustrations he gives do not help one either. Before buying this book you should first be a professional programmer who uses VBA already. Mr. Roman assumes you know many things that he will not explain. That might be OK if he would give more programming examples so that one could try to extract from the examples the steps that his book does not explain. On a more positive note, Mr. Roman likes to explain things that most persons who buy this book already know: the different kinds of variables, the importance of declaring variables before using them, and so forth. It would have been better if in the draft stage he had had some neophyte try to work with what he had written so that he would know where he contradicts himself and where he leaves out material one has to know to make things work. A better solution would be for him to read John Walkenbach's "Excel ... Power Programming with VBA" and then try to imitate that for Word. One wishes that someone else could write a book on VBA for Word. I hope Mr. Roman's students at CSU Fullerton have the opportunity to ask him questions to get him on the right track when he is unclear. Unfortunately his readers do not have that ability. (Review Data Last Updated: 2007-09-07 11:35:41 EST)
|
|||||||||||||||||||||||||||||
| 04-08-06 | 1 | 10\11 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is probably the best book one can buy for learning VBA and Word. That said, one should also note that it is a terrible book. The trouble is that there is no other book available that covers this subject.
I refer to this book all the time I am trying to program VBA, but most of the time the book is no more help than what I can get by using Microsoft help. I have wasted hundreds of hours (no exaggeration) trying to find out information that should be in this book but is not there. He makes a plug for you to send him money for his "enhanced object model browser" because the one in Word "gives only a flat one-dimensional view of the object model" whereas his is "two-dimensional". He nowhere explains what he means by those terms, and the illustrations he gives do not help one either. Before buying this book you should first be a professional programmer who uses VBA already. Mr. Roman assumes you know many things that he will not explain. That might be OK if he would give more programming examples so that one could try to extract from the examples the steps that his book does not explain. On a more positive note, Mr. Roman likes to explain things that most persons who buy this book already know: the different kinds of variables, the importance of declaring variables before using them, and so forth. It would have been better if in the draft stage he had had some neophyte try to work with what he had written so that he would know where he contradicts himself and where he leaves out material one has to know to make things work. A better solution would be for him to read John Walkenbach's "Excel ... Power Programming with VBA" and then try to imitate that for Word. One wishes that someone else could write a book on VBA for Word. I hope Mr. Roman's students at CSU Fullerton have the opportunity to ask him questions to get him on the right track when he is unclear. Unfortunately his readers do not have that ability. (Review Data Last Updated: 2008-05-03 11:03:10 EST)
|
|||||||||||||||||||||||||||||
| 04-07-06 | 1 | 8\9 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is probably the best book one can buy for learning VBA and Word. That said, one should also note that it is a terrible book. The trouble is that there is no other book available that covers this subject.
I refer to this book all the time I am trying to program VBA, but most of the time the book is no more help than what I can get by using Microsoft help. I have wasted hundreds of hours (no exaggeration) trying to find out information that should be in this book but is not there. He makes a plug for you to send him money for his "enhanced object model browser" because the one in Word "gives only a flat one-dimensional view of the object model" whereas his is "two-dimensional". He nowhere explains what he means by those terms, and the illustrations he gives do not help one either. Before buying this book you should first be a professional programmer who uses VBA already. Mr. Roman assumes you know many things that he will not explain. That might be OK if he would give more programming examples so that one could try to extract from the examples the steps that his book does not explain. On a more positive note, Mr. Roman likes to explain things that most persons who buy this book already know: the different kinds of variables, the importance of declaring variables before using them, and so forth. It would have been better if in the draft stage he had had some neophyte try to work with what he had written so that he would know where he contradicts himself and where he leaves out material one has to know to make things work. A better solution would be for him to read John Walkenbach's "Excel ... Power Programming with VBA" and then try to imitate that for Word. One wishes that someone else could write a book on VBA for Word. I hope Mr. Roman's students at CSU Fullerton have the opportunity to ask him questions to get him on the right track when he is unclear. Unfortunately his readers do not have that ability. (Review Data Last Updated: 2007-04-10 13:09:44 EST)
|
|||||||||||||||||||||||||||||
| 03-23-04 | 4 | 12\13 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
As someone who has been making a living writing Office macros for the past three years, I'd say this is the book I refer to most often. I taught myself Word VBA with this one book, after having briefly studied Excel VBA with SAMS Excel Programming (Podlin/Webb).
Even now that I'm working in XP, the book is as useful as ever as a quick reference for solutions to common tasks, for descriptions of Word objects, and answers when "Help" is no help at all. It's certainly possible to learn Word VBA from zero with this book, but if you prefer a structured 'teach yourself' course with excercises, then you'd better get another book to go with this one. A good start might be Sams Teach Yourself Microsoft Word 2000 Automation in 24 Hours. (Review Data Last Updated: 2007-06-26 11:42:05 EST)
|
|||||||||||||||||||||||||||||
| 03-13-04 | 2 | 6\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I think the review from "A reader from Lawrenceville" got it right.
It is not a good book. It is mostly a list of the various classes and their properties and methods. It can be useful for getting an overview, but it soon becomes tedious. It does not cover vital suff like Word application event handling. I suppose the only reason that it still sells is that all the other Word VBA books are out of print. (Review Data Last Updated: 2007-06-26 11:42:05 EST)
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 8 of 8 | |||||||||||||||||||||||||||||
| All Books | Arts | Biography | Click Here For An A-Z Index Of All 213 Best-Seller Subjects | Business | Children's | Comics | ||||||
| Computers | Cooking | Engineering | Entertainment | Health | History | Home | Horror | Humor | Law | Fiction | Medicine | Mystery |
| Nonfiction | Outdoors | Parenting | Professional | Reference | Religion | Romance | Science | Sci-Fi | Sports | Teens | Travel | |