Join Gini von Courter for an in-depth discussion in this video Record a macro that uses building blocks, part of Word: Automating Your Work with Macros.
- At this point you may be thinking,…wouldn't it be really great if we could create…macros that insert building blocks?…And the answer is, yes, it's great…that we can do that, and it's easy,…but you need to know how to insert…a building block within a macro.…Let's do that, let's create a new macro.…Footer, underscore, and LH, click keyboard…and I'm going to hold alt,…fl for footer letterhead, that'll work.…
You don't have to assign shortcut keys…but you always get a choice to do…one or the other, if you wish.…I have assigned that, click close.…Now, let's do the footer first, why not.…We'll click insert, Quick Parts,…and we're going to go to the Building Blocks Organizer,…this is the key to inserting building blocks in macros,…is we don't choose them from galleries,…we choose them from the Organizer.…What we would like to choose,…is we would like to choose the 3-part footer.…
I can make this name column a little wider to read more,…here's 3-part footer, right page date,…that looks good, but it's not the one I want.…
- List the steps required to run the macros on a document you created when you open the document and see a SECURITY WARNING banner message.
- Explain how to run a macro.
- Identify where to save a building block if there is no logical gallery for it.
- Recall the best way to create an auto macro.
- Recognize why you would create a macro in the Visual Basic Editor rather than using the Macro Recorder.
- Identify what you can add any existing macro to.