I need a way to automatically create a powerpoint presentation with formatted tables of numbers, then also print these same tables to excel.
I currently have a formatted FlexTable object which I write to a powerpoint presentation with no issues using ReporteRs
, but I am stuck on how to write the same table to Excel without having to go through all the formatting steps again.
Within R, Is there a way to either:
A) Write a flextable formatted object from R to excel?
or
B) Copy a formatted Excel table from xlsx file to powerpoint?
All thoughts appreciated!