Need to know what is selected
Hi,
To a routine, I need to know what is selected on worksheet_change and
worksheet_selectionchange. I need It to take different actions depending on
the type... Selections could be like
Cells
Buttons
CheckBoxes
TextBox
Worksheets
ChartObjects
Most important right now is to find if it is a button selected (in the
shapes collection i think, not OLE). The other types in the list will soon
come to, however.
Can somebody please share a good routine for this?
/Regards
|