I’m working on a requirement to export select worksheets from a workbook into a PDF file. I cannot proceed via UI Automation as ‘Save Print Output As’ modal dialog is preventing the workflow from running unless it is interacted and relaunch accordingly.
Upon running the code, it logged that the worksheets have been copied but those were really not but no exception was thrown. The file was generated but it cannot be opened as it didn’t have pages.
Where could it possibly gone wrong?
Appreciate your feedback / input on this issue. Thank you so much!
Format of excel could be an issue while exporting to PDF. To see the page layout - use below option in excel and adjust the column size and template accordingly. Similar would be exported to PDF