> HELP! this still doesn't work. I also tested it in a new blank doc with
> a
[quoted text clipped - 44 lines]
>> End Sub
>> '_______________________________________
I have a letterhead template that contains a logo graphic, a graphic line
below the logo and a table that contains personalized information (I have one
letterhead template for each person due to all of the personal preferences).
These items reside in the first page header. I need a macro that will delete
the logo but not the graphic line or the table, and I need a macro that will
insert the logo (this macro works fine). I have two versions of each
template, one with the logo and one without. If they start with a non-logo
template they want to be able to add a logo, if they start with the logo they
want to be able to remove it.
The big problem I'm having is that I cannot delete the logo without deleting
the line.
Yes I would have originally created one template for each person with a logo
and no logo choice on the dialog, but at this point I don't have that choice.
I've also tried to add the line to the table and jack things around but it's
a huge amount of work for the workaround when all I need to do is delete the
graphic.
Thanks for your help
> Take a deep breath and explain, from the top, what you are trying to do,
> without making reference to your own (clearly unsuccessful) attempted
[quoted text clipped - 48 lines]
> >> End Sub
> >> '_______________________________________
Jezebel - 22 Feb 2007 22:31 GMT
OK, that clarifies. If the logo and line are separate graphics, the current
problem is possibly that what you've bookmarked is not the logo but the
paragraph to which it is anchored, and the line is anchored to that
paragraph also. Thus deleting the bookmark removes both graphics.
Try deleting the graphic directly, using something like --
Activedocument.Sections(1).Headers(wdHeaderFooterFirstPage).Shapes(1).Delete
>I have a letterhead template that contains a logo graphic, a graphic line
> below the logo and a table that contains personalized information (I have
[quoted text clipped - 88 lines]
>> >> End Sub
>> >> '_______________________________________
Angie M. - 26 Feb 2007 03:18 GMT
THANK YOU JEZEBEL. I had to change it to shape 2 but IT WORKED. Thanks for
your time, I really appreciate it. I had selected the shape and added the
bookmark, I don't know why that didn't work but I don't care at this point,
just glad something worked.
> OK, that clarifies. If the logo and line are separate graphics, the current
> problem is possibly that what you've bookmarked is not the logo but the
[quoted text clipped - 97 lines]
> >> >> End Sub
> >> >> '_______________________________________