Anyone know how to get a handle on the name of a pic installed on a Excel worksheet?
Problem. I have an Excel program that installs/deletes various pics on a worksheet many times. Each time the pic is enstalled it is given a sequential number (Picture N). I can't find a way to change the name (make it permanent) so it's easier to track and manipulate.
abach
1728 Posts
149
0
Posted July 12th, 2007 10:00
Dim myShape As Shape
ActiveSheet.Shapes("Picture 2").Select 'Object to select
Selection.Name = "Bldg One" 'Rename object
Set myShape = ActiveSheet.Shapes("Bldg One")
End Sub
Message Edited by abach on 07-12-2007 07:28 AM