showGridLines | R Documentation |
Set worksheet gridlines to show or hide.
showGridLines(wb, sheet, showGridLines = FALSE)
wb |
A workbook object |
sheet |
A name or index of a worksheet |
showGridLines |
A logical. If |
Alexander Walker
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.