Returns a sheet index.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var nIndex = oWorksheet.GetIndex(); oWorksheet.GetRange("A1").SetValue("Index: "); oWorksheet.GetRange("B1").SetValue(nIndex); builder.SaveFile("xlsx", "GetIndex.xlsx"); builder.CloseFile();