+ Reply to Thread
Results 1 to 4 of 4

Get name of clicked Shape

  1. #1
    Registered User
    Join Date
    09-23-2004
    Posts
    65

    Get name of clicked Shape

    I have several shapes created dynamically. Every shape has the same macro attached to it. By clicking a shape, I want to show the same form with info of the shape eg. showing a label with the name of the current shape clicked.

    How can I do this?
    Last edited by Zurn; 07-24-2006 at 09:29 AM.

  2. #2
    Harald Staff
    Guest

    Re: Get name of clicked Shape

    Try

    MsgBox Application.Caller

    HTH. Best wishes Harald

    "Zurn" <[email protected]> skrev i melding
    news:[email protected]...
    >
    > I have several shapes created dynamically. Every shape has the same
    > macro attached to it. By clicking a shape, I want to show a the same
    > form with info of the shape eg. showing a label with the current shape
    > clicked.
    >
    > How can I do this?
    >
    >
    > --
    > Zurn
    > ------------------------------------------------------------------------
    > Zurn's Profile:

    http://www.excelforum.com/member.php...o&userid=14645
    > View this thread: http://www.excelforum.com/showthread...hreadid=564283
    >




  3. #3
    Registered User
    Join Date
    09-23-2004
    Posts
    65
    ok, thanks

  4. #4
    Bob Phillips
    Guest

    Re: Get name of clicked Shape

    Use Application.Caller

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Zurn" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I have several shapes created dynamically. Every shape has the same
    > macro attached to it. By clicking a shape, I want to show a the same
    > form with info of the shape eg. showing a label with the current shape
    > clicked.
    >
    > How can I do this?
    >
    >
    > --
    > Zurn
    > ------------------------------------------------------------------------
    > Zurn's Profile:

    http://www.excelforum.com/member.php...o&userid=14645
    > View this thread: http://www.excelforum.com/showthread...hreadid=564283
    >




+ 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