VBA: Get selected Range in a Worksheet where the Selection is a Chart

后端 未结 1 1300
野趣味
野趣味 2021-01-07 08:11

I have a Worksheet, with a Chart in it. If I select a range of cells, and then I select the Chart, then in the immediate window of the VBE

? TypeName(Selecti         


        
1条回答
  •  时光说笑
    2021-01-07 08:54

    You can use the RangeSelection property of the Window object (see this).

    0 讨论(0)
提交回复
热议问题