From the course: Word 2013 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Editing a macro

Editing a macro - Microsoft Word Tutorial

From the course: Word 2013 Essential Training

Start my 1-month free trial

Editing a macro

Sometimes when you record macros, you realize that maybe you left out a step, or maybe you'd like to change one of the steps, and in that case, you can consider going back and editing a macro. It's very possible. If you know a little bit about Visual Basic for Applications, you're off to the races. If you don't, I would recommend re-recording most macros, and editing when there's a simple change that needs to be made. I'll show you what I mean as we edit the macro we created a couple lessons ago. From the View tab here on the ribbon, we'll click the Macros button to view our macros. There is only one; the one we created. With it highlighted or selected, we'll click the Edit button. This actually takes this into VBA, Microsoft Visual Basic for Applications; it's programming. And as you can see, our macro, which really is just typing some text, and blank lines, and a little bit of formatting has all of this code involved. If we take out anything that we shouldn't be taking out, the…

Contents