getSheets-methods

0th

Percentile

Querying available worksheets in a workbook

Returns all worksheet names in a '>workbook.

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

The '>workbook to use

See Also

'>workbook, createSheet, removeSheet, renameSheet, getSheetPos, setSheetPos

Aliases
  • getSheets
  • getSheets-methods
  • getSheets,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 available worksheets
sheets <- getSheets(wb)
# }
Documentation reproduced from package XLConnect, version 0.2-15, License: GPL-3

Community examples

Looks like there are no examples yet.