wb <- loadWorkbook(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx"))
names(wb) ## list worksheets in workbook
showGridLines(wb, 1, showGridLines = FALSE)
showGridLines(wb, "testing", showGridLines = FALSE)
if (FALSE) {
saveWorkbook(wb, "showGridLinesExample.xlsx", overwrite = TRUE)
}
Run the code above in your browser using DataLab