wb_initialise <- function(tab, wb, ws_name) {
tab$wb <- wb
if (!(sheetExists(tab$wb, ws_name))) {
openxlsx::addWorksheet(tab$wb, ws_name, gridLines = FALSE)
}
tab
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.