diff --git a/R/export_tables.R b/R/export_tables.R index 8182e12..d27b1cd 100644 --- a/R/export_tables.R +++ b/R/export_tables.R @@ -205,6 +205,15 @@ format_columns <- function(wb, gridExpand = TRUE ) + + + } else { + openxlsx::addStyle(wb, sheet_name, + rows = start_row:end_row, + cols = column, + style = openxlsx::createStyle(halign = "right"), + gridExpand = TRUE + ) } # Format GBP columns if (stringr::str_detect(colnames(table[column]), "[Vv]alue")) {