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?
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.
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
>
ok, thanks
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
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks