wb_format_header: Format Header of Excel Table

View source: R/wb_format_header.R

wb_format_headerR Documentation

Format Header of Excel Table

Description

Format Header of Excel Table

Usage

wb_format_header(wb, sheet = openxlsx2::current_sheet(), dat)

Arguments

wb

A wbWorkbook object

sheet

A name or index of a worksheet

dat

data which were included in Excel sheet, used to extract dimensions of header

Examples

wb_workbook(creator = "Reto Zihlmann") %>%
  wb_add_worksheet(sheet = "README", tab_color = "green") %>%
  wb_add_data(sheet = 1, x = dat, with_filter = FALSE) %>%
  wb_set_col_widths(sheet = 1, cols = 1:ncol(dat), widths = "auto") %>%
  wb_format_header(dat = dat)

retodomax/FunRZ documentation built on May 10, 2024, 9:44 a.m.