R
Roderick O'Regan
I've inserted in the firstpagefooter a recycle paper logo which is
saved in the template as AutoText.
I use the following code to do this:
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageFooter
'enters the autotext graphic located in the attached Template
ActiveDocument.AttachedTemplate.AutoTextEntries("Recycle").Insert
_
Where:=Selection.Range, RichText:=True
'returns to the main document
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
The footer consists of a few lines of text holding the office address
details.
The logo is a floating graphic.
What I'd like to do is to give it a name so that later on when users
want to remove it I can say something like:
"Go and find the XYZ named graphic in the firatpagefooter and remove
it"
This is well explained in the VBA help.
But how do I give it a name in the first place considering it is
AutoText?
Can anyone help, please?
Roderick
saved in the template as AutoText.
I use the following code to do this:
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageFooter
'enters the autotext graphic located in the attached Template
ActiveDocument.AttachedTemplate.AutoTextEntries("Recycle").Insert
_
Where:=Selection.Range, RichText:=True
'returns to the main document
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
The footer consists of a few lines of text holding the office address
details.
The logo is a floating graphic.
What I'd like to do is to give it a name so that later on when users
want to remove it I can say something like:
"Go and find the XYZ named graphic in the firatpagefooter and remove
it"
This is well explained in the VBA help.
But how do I give it a name in the first place considering it is
AutoText?
Can anyone help, please?
Roderick