Which shape is selected

  • Follow


Hello,

on a sheet with several drawing objects, how can I programmatically 
determine if / which is selected ?

Regards,

H.G. Lamy 


0
Reply H 1/27/2010 11:31:28 AM

Try:

Sub WhichShape()
MsgBox Selection.Name
End Sub

-- 
Gary''s Student - gsnu201001
0
Reply Utf 1/27/2010 1:53:01 PM

Thank you !

hg

"Gary''s Student" <GarysStudent@discussions.microsoft.com> wrote in message 
news:9CB4806A-D4F8-474F-A196-E325228B8798@microsoft.com...
> Try:
>
> Sub WhichShape()
> MsgBox Selection.Name
> End Sub
>
> -- 
> Gary''s Student - gsnu201001 


0
Reply H 1/27/2010 2:27:35 PM

2 Replies
482 Views

(page loaded in 0.081 seconds)

Similiar Articles:
















7/28/2012 6:15:46 PM


Reply: