Given a worksheet, I understand that selected items and the active item are not the same thing. It seems that only one item of all the selected items can be active. I would like to write a piece of code to identify the active item automatically.
Selection always refers to selected items, however it seems that there is no expression like that to fetch the active item. The types of the active item can be various. It may be a cell, in this case ActiveCell is used to refer to it. It also can be a Chart, then ActiveChart should be used.
Do I have to check all the ActiveXXXX to get the active item? In this case, is there an exhaustive list for this?
Otherwise, does anyone know any other workaround?