vba and orgchart shapes

  • Thread starter Thread starter Luc Benninger
  • Start date Start date
L

Luc Benninger

how can I detect with vba what shapes in an organization chart diagram are
currently selected? if text in such a shape is selected I can get the shape
reference with the parent property. but what can I do if one or more shapes
are selected?
using pp xp/2003.
thanks a lot, Luc
 
great! thanks!
i know it's kind of off-topic, but you also know how to do this in excel?
seems there is no childshaperange property.
Luc
 
Luc,
Assuming that you've selected shapes within a org chart you can do the
following in Excel:

Dim oDO As DrawingObjects
Set oDO = ActiveWindow.Selection
For I = 1 To oDO.Count
Debug.Print oDO.Item(I).Name, TypeName(oDO.Item(I))
Next I
 
Back
Top