K
Kimmie B
Hello smart Word people,
I'm trying to create a macro on a template that automatically removes the
DRAFT watermark from the document, and I want to add a button for this new
macro to the custom toolbar that already exists in the template.
Per Word online Help, I've tried Tools > Macro > Record New Macro, and
clicked the toolbar icon and recorded the steps for removig the watermark.
When I record the macro, the watermark disappears, as I expect it to.
However, when I later add the watermark back in to test the macro, and try to
use the button, I get a runtime error message ("the item with the specified
name wasn't found"). When I click the debug button, VB indicates the
following faulty code:
Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject2").Select.
Also, the new macro does not appear when I select Tools> Macro on the menu
bar.
What's going wrong?
Ideally, I'd like a macro button that lets the user toggle between having
the DRAFT watermark turned on and off, but right now I'd just settle for a
button that works properly to turn off the draft watermark.
Thanks in advance for your help,
Kimmie B
I'm trying to create a macro on a template that automatically removes the
DRAFT watermark from the document, and I want to add a button for this new
macro to the custom toolbar that already exists in the template.
Per Word online Help, I've tried Tools > Macro > Record New Macro, and
clicked the toolbar icon and recorded the steps for removig the watermark.
When I record the macro, the watermark disappears, as I expect it to.
However, when I later add the watermark back in to test the macro, and try to
use the button, I get a runtime error message ("the item with the specified
name wasn't found"). When I click the debug button, VB indicates the
following faulty code:
Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject2").Select.
Also, the new macro does not appear when I select Tools> Macro on the menu
bar.
What's going wrong?
Ideally, I'd like a macro button that lets the user toggle between having
the DRAFT watermark turned on and off, but right now I'd just settle for a
button that works properly to turn off the draft watermark.
Thanks in advance for your help,
Kimmie B