Save as pdf excel activity, does not save correctly excel file

I have dynamically updating excel file, I need to save it as pdf. Locally on my PC it’s saving as I want, but on Robot’s computer it saving one column as one page, whether I need to save entire sheet as a page. I’ve tried to use save as pdf activity and VBA macro. Both methods returning same result. Here’s my VBA code:

Sub SaveActiveSheetsAsPDF(Path As String)

'Create and assign variables
Dim saveLocation As String
saveLocation = Path

With ActiveSheet.PageSetup
        .FitToPagesWide = 1
        .FitToPagesTall = 1
End With


'Save Active Sheet(s) as PDF
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=saveLocation
    

End Sub

Hi @abzal.baimukhanov ,

This is a single time activity. You need to login into the Robot machine and perform the save as setting for the excel as you have in your machine. Then you can use save as pdf activity directly.

Did you find any resolution here?

Nope, I’ve tried many options but still

This may be unrelated as your issue is slightly different than ours was… but if you go into the robot machine, open excel and go to print, do you see “Microsoft Print to PDF”?

image