getActiveSheetIndex-methods | R Documentation |
Queries the index of the active worksheet in a workbook
.
## S4 method for signature 'workbook'
getActiveSheetIndex(object)
object |
The |
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
workbook
, getActiveSheetName
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.