awalker89 / openxlsx

R package for .xlsx file reading and writing.
Other
364 stars 79 forks source link

Headers and Footers are not correct #460

Open msgoussi opened 5 years ago

msgoussi commented 5 years ago

Expected Behavior

to keep footers (Left, Center and Right) as it is.

Actual Behavior

it drops some of the footer items (Center and Right)

Steps to Reproduce the Problem

(please attach an example xlsx file if possible)

  1. Book1.xlsx

library(openxlsx) wb <- openxlsx::loadWorkbook("Book1.xlsx") openxlsx::writeData(wb, sheet = 1, iris[1:5, ], startRow = 2, colNames = FALSE) openxlsx::saveWorkbook(wb, "newBook.xlsx", overwrite = TRUE)

sessionInfo()