getActiveSheetName-methods

0th

Percentile

Querying the active worksheet name

Queries the name of the active worksheet in a '>workbook.

Keywords
methods, utilities
Usage
# S4 method for workbook
getActiveSheetName(object)
Arguments
object

The '>workbook to use

See Also

'>workbook, getActiveSheetIndex

Aliases
  • getActiveSheetName
  • getActiveSheetName-methods
  • getActiveSheetName,workbook-method
Examples
# 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 name
activeSheet <- getActiveSheetName(wb)
# }
Documentation reproduced from package XLConnect, version 0.2-14, License: GPL-3

Community examples

Looks like there are no examples yet.