showGridLines: Set worksheet gridlines to show or hide.

Description Usage Arguments Author(s) Examples

View source: R/wrappers.R

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("extdata","loadExample.xlsx", package = "openxlsx"))
names(wb) ## list worksheets in workbook
showGridLines(wb, 1, showGridLines = FALSE)
showGridLines(wb, "testing", showGridLines = FALSE)
## Not run: saveWorkbook(wb, "showGridLinesExample.xlsx", overwrite = TRUE)

openxlsx documentation built on Dec. 6, 2019, 5:11 p.m.