Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you been following along since the beginning of this chapter dealing with macros, you'll remember me asking you if you were a programmer. The reason I asked is because macros are like tiny programs, and when it comes to editing a macro, well you'll understand what I mean. In fact, I almost hesitate to dive into this topic because it's almost easier sometimes to re-create a macro from scratch than it is to edit one. You see Word takes you into a Visual Basic editor to edit your macros. So we're going to keep it very simple as we edit the macro that we created two lessons ago.
If you're skipping to this lesson you'll have to just watch and follow along. That way, if you created a macro two lessons ago well, you'll have something to edit. To edit our macros we need to go up to the View tab up here on the ribbon, give it a click, and then that brings up our Macro button over here on the far right. Give that a click. We'll click on View Macros. And what we're going to see is a listing of all of our own personal macros. You see they're stored here under All active templates in documents and kept separate from the macros that are built- in to Word so it's easy to find our own.
So we make sure posting footer is selected and to edit this macro, we simply come over here to the right and click Edit. All right, this is what I was talking about when I brought up programming. Our macro here is opened up in Visual Basic and we have access to all of the programming tools we would use for editing much larger programs. So you can get into more trouble than not with one small slip in here, so let's keep this simple and we'll stick to editing the actual content or the text that was entered in our macro. So here you can see we've got some some coding and so on down at the bottom as well, but anything between these double quotes is text that we entered.
We're going to make a small change to some of the text. Over here where it says "interview will be contacted, no telephone calls please" we're going to put a period here. So I'm going to take out the comma and I'm going to put in a period, leave an extra space, delete the lower case N then put in a capital M here. That is going be the extent of my edits. You can see where the alignment was set to center. Here's where we decided we would save our document, so all the codings there, and I wouldn't even bother trying to edit any of that coding. If I had to, I'd re-create the macro and it would probably be easier for a guy like me.
Alright, we need to save our changes so in Visual Basic here we click the Save button and then we can close it up knowing that our macro has been updated. That takes us back to Microsoft Word and what we're going to do is we should still have posting 15B open from the previous lesson. If not, you can open it up. I'm going to take out the closing down here at the bottom, just going to select it and hit Delete, and I'm going to try to run my macro now from the Quick Access toolbar as we saved it as a button. When I click it, look what happens.
My text is entered, it's centered, my document saved and look at that, I see the changes in my macro. All right, unless you feel comfortable programming in Visual Basic keep your edits simple or just re-create the macro, recording it again, next time with those minor changes, might be the easiest way to go.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 70476 Viewers
80 Video lessons · 127621 Viewers
52 Video lessons · 62513 Viewers
59 Video lessons · 48221 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.