Learn R Programming

openxlsx2 (version 0.5.1)

read_sheet_names: Get names of worksheets

Description

Returns the worksheet names within an xlsx file

Usage

read_sheet_names(file)

Value

Character vector of worksheet names.

Arguments

file

An xlsx or xlsm file.

Examples

Run this code
read_sheet_names(system.file("extdata", "readTest.xlsx", package = "openxlsx2"))

Run the code above in your browser using DataLab