
Last chance! 50% off unlimited learning
Sale ends in
Queries the index of the active worksheet in a workbook
.
# S4 method for workbook
getActiveSheetIndex(object)
The workbook
to use
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
workbook
, getActiveSheetName
if (FALSE) {
# mtcars xlsx file from demoFiles subfolder of package XLConnect
demoExcelFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect")
# Load workbook
wb <- loadWorkbook(demoExcelFile)
# Query the active sheet index
activeSheet <- getActiveSheetIndex(wb)
}
Run the code above in your browser using DataLab