Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another way -
MsgBox ActiveSheet.Ovals(ActiveSheet.Ovals.Count).Name Both Harold's & my examples assume the ZOrder has not been changed since the last was added, eg send-to-back the last added or bring-to-front some other. or, as you say you are adding an oval with code Dim shp as Shape Set shp = ActiveSheet.Shapes.AddShape(msoShapeOval, 50, 50, 100, 100) MsgBox shp.Name Regards, Peter T "Ken" wrote in message ... Say I have just added an object (Oval) into the worksheet. How do I find it's name that Excel assigned it via VB code? -- Ken |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Finding the cell in which an object lies | Charts and Charting in Excel | |||
Option button object proeprties or object not found in vba | Excel Programming | |||
Confusion about how the Window object fits into the Excel object model | Excel Programming | |||
trouble finding object to use | Excel Programming | |||
finding the last row populated in an excel object | Excel Programming |