[Solved] How to get the active sheets index?
Posted: Sat Sep 14, 2013 4:13 am
I am using Python.
Will get me the name of the active sheet. How do I get it's index?
Thanks, Jim
Code: Select all
doc = XSCRIPTCONTEXT.getDocument()
oSheets = doc.getSheets()
sSheet = doc.getCurrentController().getActiveSheet()
name = sSheet.Name
Thanks, Jim