Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Renaming pictures

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henk - 26 May 2008 10:15 GMT
Is it possible to change the name of pictures in a workbook? E.g. rename
Picture 52 (name given by Excel itself) to Log 01.

Regards
Norman Jones - 26 May 2008 10:21 GMT
Hi Henk,

Try something like:

       ActiveSheet.Pictures("Picture 1").Name = "Log 01"

---
Regards.
Norman

> Is it possible to change the name of pictures in a workbook? E.g. rename
> Picture 52 (name given by Excel itself) to Log 01.
>
> Regards
Henk - 26 May 2008 11:07 GMT
Thanks Norm. It works!

> Hi Henk,
>
[quoted text clipped - 10 lines]
> >
> > Regards
Gord Dibben - 26 May 2008 22:33 GMT
If you have bunch to do try this.

Public Sub ReNamePics()
Dim Pic As Shape, K As Long
For Each Pic In Selection.ShapeRange
K = K + 1
Pic.Name = "Log" & K
Next Pic
End Sub

Gord Dibben  MS Excel MVP

>Thanks Norm. It works!
>
[quoted text clipped - 12 lines]
>> >
>> > Regards
Norman Jones - 26 May 2008 23:07 GMT
Hi Henk,

I should have added that, when dealing with
Excel names, you will find Jan Karel Pieterse's
Name Manager Add-in of invaluable assistance;
I regard it as one of my indispensible tools.

Name Manager may be downloaded at:

           http://www.jkp-ads.com/Download.asp

---
Regards.
Norman

> Hi Henk,
>
[quoted text clipped - 5 lines]
> Regards.
> Norman
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.