showGridLines: Set worksheet gridlines to show or hide.

Description Usage Arguments Author(s) Examples

Description

Set worksheet gridlines to show or hide.

Usage

1

Arguments

wb

A workbook object

sheet

A name or index of a worksheet

showGridLines

A logical. If TRUE, grid lines are hidden.

Author(s)

Alexander Walker

Examples

1
2
3
4
5
wb <- loadWorkbook(file = system.file("loadExample.xlsx", package = "openxlsx"))
names(wb) ## list worksheets in workbook
showGridLines(wb, 1, showGridLines = FALSE)
showGridLines(wb, "testing", showGridLines = FALSE)
saveWorkbook(wb, "showGridLinesExample.xlsx", overwrite = TRUE)

awalker89/openxlsx documentation built on May 11, 2019, 4:09 p.m.