Chapter 21: Macros and VBA

 < Day Day Up > 



I don’t intend to teach you Visual Basic for Applications in this book. However, if you become a little bit familiar with what macros are and learn your way around the Visual Basic Editor window, perhaps it’ll spark your interest in automating your tasks. I figure if you’re lazy, you’ll LOVE macros!

What is a Macro?

Macros are used to create a set of commands or tasks to be performed automatically. When you have repetitive tasks, you can create a macro that automatically runs a small “program” to perform those tasks for you.

Visual Basic for Applications (VBA) is a mini-version of Visual Basic that is used within the Microsoft Office suite and certain other programs, like Visio. When you record a macro, the VBA code required to repeat those steps is recorded for you. Many tasks that you would like to perform cannot be recorded, but may be written in VBA; many tasks that you would like to perform all at once might need to be written by a VBA programmer.



 < Day Day Up > 



Dreamboat on Word
Dreamboat on Word: Word 2000, Word 2002, Word 2003 (On Office series)
ISBN: 0972425845
EAN: 2147483647
Year: 2003
Pages: 130
Authors: Anne Troy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net