+ Reply to Thread
Results 1 to 2 of 2

Shape/picture name in a worksheet

  1. #1
    Registered User
    Join Date
    03-26-2004
    Posts
    35

    Shape/picture name in a worksheet

    Hi,

    I am looking for a VB code line that will enable me to recieve into a variable in a macro the name of a shape/picture I have inserted to the worksheet. Usually it recieves automatic numbered name (shape1...2...).

    Thanks Neta.

  2. #2
    Don Guillett
    Guest

    Re: Shape/picture name in a worksheet

    try

    Sub getshapenames()
    For Each sh In ActiveSheet.Shapes
    MsgBox sh.Name
    Next sh
    End Sub

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "neta" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi,
    >
    > I am looking for a VB code line that will enable me to recieve into a
    > variable in a macro the name of a shape/picture I have inserted to the
    > worksheet. Usually it recieves automatic numbered name
    > (shape1...2...).
    >
    > Thanks Neta.
    >
    >
    > --
    > neta
    > ------------------------------------------------------------------------
    > neta's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7624
    > View this thread: http://www.excelforum.com/showthread...hreadid=546457
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1