View source: R/xlsx_sheet_names.R
xlsx_sheet_names | R Documentation |
xlsx_sheets()
returns the names of the sheets in a workbook, as a character
vector. They are in the same order as they appear in the spreadsheet when it
is opened with a spreadsheet application like Excel or LibreOffice.
xlsx_sheet_names(path, check_filetype = TRUE)
path |
Path to the xlsx file. |
check_filetype |
Logical. Whether to check that the filetype is xlsx (or xlsm) by looking at the file itself, rather than using the filename extension. |
A character vector of the names of the worksheets in the file.
examples <- system.file("extdata/examples.xlsx", package = "tidyxl")
xlsx_sheet_names(examples)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.