Is there any method to Get the Selected Range, Sheet Index or Name?

Dear All,

I am struggling to get the index or the Name of the Selected Sheet in an open excel File via method.

I mean, something like Get Selected Range Sheet that the output is an int32 (index of the sheet) or a String (Name of the sheet) where the selected range is located.

Is there any possibility with methods? If not, it could be a proposal of improvement.

Thanks in advance!

Kind Regards.


If its excel use sheet.getsheets method or if its workbook use getworkbooksheets activity