Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Howard
That is enough. Thank you. M varnendra "L. Howard Kittle" wrote: Hi Varne, Not an expert but this may help. I entered several rectangles on a sheet and then named then, Rec1, Rec2, Rec3 etc. Then I made a list in an unused column of the Rec's. In a adjacent cell I made a drop down using the list of Rec's as source. Select a Rec in F1 and run this macro and it should select that Rec. Sub ShapeSelect() Dim i As Variant i = Range("F1").Value ActiveSheet.Shapes(i).Select End Sub HTH Regards Howard "Varne" wrote in message ... Hello! If we select an autoshape object in Excel 2003 for instance a rectangle on sheet1 something like 'Activesheet.Shapes("Rectangle 6").Select will get written on Visual Basic coding sheets. The problem to me is this code would not work if that rectangle was replaced with an other one because the new one will be "Rectangle7". Can an expert help me on this? Thanks. Varne M |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 and Autoshapes | Excel Discussion (Misc queries) | |||
How do you change the default text alignment for Excel autoshapes | Excel Discussion (Misc queries) | |||
Can I select and Group Autoshapes in Excel 97 ? | New Users to Excel | |||
delete multiple autoshapes or objects in excel | Excel Discussion (Misc queries) | |||
Hide AutoShapes On Excel Worksheet | Excel Worksheet Functions |