Buttons Export .xlsx with page/print set to landscape

Buttons Export .xlsx with page/print set to landscape

LuukMstrLuukMstr Posts: 1Questions: 1Answers: 0

Hey guys,

I'm trying to edit the excelString var ("// Excel - Pre-defined strings to build a basic XLSX file
var excelStrings = {".. in datables.js) so that when the .XLSX file is opened after downloading and I print the file, the page is already set to landscape.
I've tried to add a WorksheetOptions, a PageSetup and a Layout tag to sheet1.xml part but that doesn't work yet.

Could anyone help me with this?
Thanks in advance!

This discussion has been closed.