Skip to contents

List the sheets in a workbook

Usage

excel_sheets(path)

Arguments

path

Path to an .xlsx file.

Value

A character vector of sheet names, in workbook order.

Examples

path <- system.file("extdata", "typed-numbers.xlsx", package = "unexcel")
excel_sheets(path)
#> [1] "day-first"   "month-first"