Skip to Content
Word 2007: The Missing Manual
book

Word 2007: The Missing Manual

by Chris Grover
December 2006
Beginner
524 pages
17h 10m
English
O'Reilly Media, Inc.
Content preview from Word 2007: The Missing Manual

Chapter 19. Introducing Macros and Visual Basic

Macros let you can run several commands with the click of a button or the press of a key. If you find yourself using the same three or four commands over and over again, you can save time by recording those steps as a macro. You can assign the macro to a keyboard shortcut or to a button on the Quick Access toolbar. Then, when you need to run those commands, instead of having to use several keystrokes or ribbon commands, you can do it all with one stroke. And that’s just the beginning. If you’re interested, you can do much more with macros and the underlying programming language called Visual Basic.

This chapter won’t turn you in to a macro-programming wizard, but it will give you a firm grounding in the fundamentals. You learn how to record Word commands and actions as macros by showing Word what steps you want the macro to perform. Then, you get to look under the hood and see the Visual Basic programming code that Word writes as it records your actions. This chapter gives you a quick lesson in how to read and interpret Visual Basic code and how to get extra help understanding the language. If you’re interested in learning how you can tweak a macro, you can find that here too. If you’re game, grab a Jolt cola, turn up the volume on iTunes, and dig in.

Showing the Developer Tab

If you’re thinking about creating macros, that automatically makes you a Word developer—a person who creates (or, as programmers like to put it, develops) programs, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Office 2007: The Missing Manual

Office 2007: The Missing Manual

Chris Grover, Matthew MacDonald, E. A. Vander Veer
Special Edition Using Microsoft® Office Word 2007

Special Edition Using Microsoft® Office Word 2007

Faithe Wempen, Nicholas Chase, Kathy Jacobs, Karen McCall, Joyce J. Nielsen, Patrick Schmid

Publisher Resources

ISBN: 059652739XErrata Page