Create macro to replace logo

S

SEBEK

My company has a new logo and I need to replace it in hundreds of templates.
It currently resides in the same place in all templates in the footer within
a text box. I have recorded a macro, but I get an error when running it on
subsequent templates. I am using Word 2003. Thanks for any assistance.
 
S

SEBEK

Rather than sending you my bad code, can you give me guidance as to how I
would create a macro which would replace a logo/graphic with the same name
into a template. The current logo/graphic resides in the footer inside a text
box. (not ideal, I know, I didn't design the templates, but must work within
the current format). I am using Word 2003.

macropod said:
Without seeing the code, it's difficult to say ...

--
Cheers
macropod
[MVP - Microsoft Word]


SEBEK said:
My company has a new logo and I need to replace it in hundreds of templates.
It currently resides in the same place in all templates in the footer within
a text box. I have recorded a macro, but I get an error when running it on
subsequent templates. I am using Word 2003. Thanks for any assistance.
 
M

macropod

Hi Sebek,

Without knowing how many shapes/text boxes there are to deal with (and if there's more than one, what the logo's shape name is, or
at least its text box's shape name), how many footers etc, in each template, and knowing whether its the same in all templates,
that's just a tad difficult.

In any event, the way I'd be inclined to approach this would be to delete the existing footer contents altogether and replace them
with an INCLUDETEXT field that points to a separate document that has the new footers.

Then I'd add a macro to each template to update then unlink the INCLUDTEXT field in each new document. See
http://wordtips.vitalnews.com/Pages/T001698_Pulling_Headers_and_Footers_from_Other_Files.html
for some code one might use for this part.

That way, there's only ever one file that will need to be changed if the logo changes again. It's more work to set up initially, but
much easier to maintain later on.

--
Cheers
macropod
[MVP - Microsoft Word]


SEBEK said:
Rather than sending you my bad code, can you give me guidance as to how I
would create a macro which would replace a logo/graphic with the same name
into a template. The current logo/graphic resides in the footer inside a text
box. (not ideal, I know, I didn't design the templates, but must work within
the current format). I am using Word 2003.

macropod said:
Without seeing the code, it's difficult to say ...

--
Cheers
macropod
[MVP - Microsoft Word]


SEBEK said:
My company has a new logo and I need to replace it in hundreds of templates.
It currently resides in the same place in all templates in the footer within
a text box. I have recorded a macro, but I get an error when running it on
subsequent templates. I am using Word 2003. Thanks for any assistance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top