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.

Re: Create macro to replace logo by macropod

macropod
Sat Jul 12 15:29:12 PDT 2008

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

--
Cheers
macropod
[MVP - Microsoft Word]


"SEBEK" <SEBEK@discussions.microsoft.com> wrote in message news:F8E7B6E7-2B64-4239-BE32-0C04AF17A54A@microsoft.com...
> 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.

Re: Create macro to replace logo by SEBEK

SEBEK
Mon Jul 14 11:32:06 PDT 2008

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" wrote:

> Without seeing the code, it's difficult to say ...
>
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
>
>
> "SEBEK" <SEBEK@discussions.microsoft.com> wrote in message news:F8E7B6E7-2B64-4239-BE32-0C04AF17A54A@microsoft.com...
> > 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.
>

Re: Create macro to replace logo by macropod

macropod
Mon Jul 14 15:45:05 PDT 2008

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" <SEBEK@discussions.microsoft.com> wrote in message news:2B3B1ED4-67D5-417E-AB19-DE36FA46165C@microsoft.com...
> 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" wrote:
>
>> Without seeing the code, it's difficult to say ...
>>
>> --
>> Cheers
>> macropod
>> [MVP - Microsoft Word]
>>
>>
>> "SEBEK" <SEBEK@discussions.microsoft.com> wrote in message news:F8E7B6E7-2B64-4239-BE32-0C04AF17A54A@microsoft.com...
>> > 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.
>>