R
Roderick O'Regan
I've added a picture using the following statement:
ActiveDocument.Shapes.AddPicture(MyFileName, msoFalse, msoTrue, 52, 14, 527,
388.3).Select
What I want to do now is give that graphic a name (e.g. MyPicture) and then
go back to it by name at a later time to delete it.
First of all, can I give a shape, such as a picture, a name? I've tried
using the Selection.ShapeRange.Name="MyPicture" command but don't know
whether that is correct. If it is, then how con I select it by name, please?
Regards
Roderick
ActiveDocument.Shapes.AddPicture(MyFileName, msoFalse, msoTrue, 52, 14, 527,
388.3).Select
What I want to do now is give that graphic a name (e.g. MyPicture) and then
go back to it by name at a later time to delete it.
First of all, can I give a shape, such as a picture, a name? I've tried
using the Selection.ShapeRange.Name="MyPicture" command but don't know
whether that is correct. If it is, then how con I select it by name, please?
Regards
Roderick