Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My macro creates new shapes on the worksheet.
I want to group them but if no shapes were created the macro fails. How do I test for valid selection. I have tied: If Not Selection Is Nothing Then Selection.ShapeRange.Group If Not Selection.ShapeRange Is Nothing Then Selection.... But nothing works. It says "Object doesn't support this property or method" Thanks *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I test if a cell is empty? | Excel Discussion (Misc queries) | |||
Test if the range is empty | Excel Discussion (Misc queries) | |||
Can't test for Empty objects in an array | Excel Programming | |||
Test if Clipboard is empty | Excel Programming | |||
Better way to test for empty Recordset | Excel Programming |