HELP! Alignment ruin when saving Excel as pdf

Hi, I have a test case to export an excel file to pdf format file. However, the alignment of pdf will be ruin after save it. I attached the format of excel file for assistance.

template1.xlsx (346.8 KB)

HI,

Can you elaborate your issue?

In my environment, it seems no problem. (with a little page layout modification.)

Regards,

Hello @mizudinhamid

Hope you are using the Excel to pdf activity.

Thanks

HI @Yoichi when i export it, it become like this

Can you share the method you do to achieve that?

Hi,

It’s worksheet settings matter.
Can you try to set 1 page at Width in Scale to Fit - PageLayout, as the following, in advance?

Regards,

Hi @Yoichi

This page layout cannot be set in advance due to the excel is generated by the system. But your method to change the page layout is working. Thanks! Next question is how to achieve it by using UiPath? I assume the method is to open the excel and indicate to the page layout selectors and finally save it to pdf format?

HI,

The following might not be very good approach, but will work.

It might be better to set WindowMessage as InputMethod than hardware.

Regards,

Thanks yoichi

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.