DEPRECATED - Use function 'sheetVisibility()
sheetVisible(wb)
sheetVisible(wb) <- value
Character vector of worksheet names.
TRUE if sheet is visible, FALSE if sheet is hidden
wb <- createWorkbook()
addWorksheet(wb, sheetName = "S1", visible = FALSE)
addWorksheet(wb, sheetName = "S2", visible = TRUE)
addWorksheet(wb, sheetName = "S3", visible = FALSE)
sheetVisible(wb)
#> Warning: This function is deprecated. Use function 'sheetVisibility()'
#> [1] FALSE TRUE FALSE
sheetVisible(wb)[1] <- TRUE ## show sheet 1
#> Warning: This function is deprecated. Use function 'sheetVisibility()'
#> Warning: This function is deprecated. Use function 'sheetVisibility()'
sheetVisible(wb)[2] <- FALSE ## hide sheet 2
#> Warning: This function is deprecated. Use function 'sheetVisibility()'
#> Warning: This function is deprecated. Use function 'sheetVisibility()'