I am using xlsx to add Data Frames to existing excel templates. Currently, I see no way to keep the cell style when using addDataFrame(). I would expect addDataFrame(x,sheet,colStyle = NULL) to only paste the values, but not change the cell style.
Thanks for reporting this, and apologies for the delay in responding! I seem to recall that there is a way to do this, but I am blanking at the moment.
I am using xlsx to add Data Frames to existing excel templates. Currently, I see no way to keep the cell style when using addDataFrame(). I would expect
addDataFrame(x,sheet,colStyle = NULL)
to only paste the values, but not change the cell style.Thank you in advance!