View Single Post
 
Old 04-11-2012, 02:10 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You really don't need a tutorial for recording a macro - it's simply a matter of starting the macro recorder, recording whatever it is you're trying to do, then stopping the macro recorder when you're done. Do note that there are many actions the macro recorder doesn't capture, so your recorded code might have significant omissions.

A common mistake is to assume a macro is needed for things that can be done with the tools Word already provides. For example, I often see people looking for macro solutions that can be solved using Find/Replace or fields. There are various Word tutorials, including on macros, at: http://word.mvps.org/Tutorials/index.htm.

If you really want to learn macro coding and usage, there are numerous books, courses (both on-line and face-to-face) and, of course, sample code on the web - much of it in forums such as this one.

Few macro tutorials are likely to teach you how to address any specific issues you might have, simply because of their need to be generic. One that includes a number of code samples is: http://www.macros.com/tutorial/ME3Tutorial.htm

Beyond that, studying the code you'll find on forums like this will expose you to far more of what can be done via macros than any tutorial is capable of.

A book you might find useful is The Secret Life of Word: A Professional Writer's Guide to Microsoft Word Automation, by R Delwood, published by XML Press in 2011(http://xmlpress.net/publications/word-secrets/). I contributed content for and did much of the technical review of this book. This isn't a programming book as such (though it does have some programming in it) and doesn't profess to teach you how to program. Rather, it shows how to combine Word's various tools to achieve whatever the desired result might be. Another that I contributed to (and has much more programming in it) is Word Hacks, by A Savikas, published by O'Reilly Media in 2005 (http://shop.oreilly.com/product/9780596004934.do). I contributed content for this book also. Although it pre-dates Office 2007, much of the content is still relevant.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote