Excel to pdf

Hi Everyone,

I would like to save an Excel file as an pdf file and saw in previous posts that i should us a send hotkey with f12.
But it doesn’t work…
Do you have an idea what i’m doing wrong?
Thank you in advanceMain.xaml|attachment (12.4 KB)

@Sofiaxx - F12 simply brings up the Save As dialog - you then need to add the keystrokes to get to the type “PDF” and then click the “Save” button.

yes thats what i like to do, but the save as dialog doesn’t show up…

What version of Excel are you using?

Excel 2016

@sagacity do you have an idea what I am doing wrong?

@Sofiaxx Sorry, I just noticed you aren’t assigning the element you want to send the hot key to. You need to Assign the selector under Target in the Send HotKey activity. Should look something like:

<wnd app='excel.exe' cls='XLMAIN' omit:title='MyExcelFile.xlsx - Excel' />

@sagacity Thanks for your help, but I’m using it the first time, so I don’t know what I have to type in the field selector… Can you maybe tell me with one more step, what I have to do?

Did you try the above example? Replacing MyExcelFile in title= with the name of your file?

Yes I typed in the following:
Error

Note the Blue Circle with the ! - you need to surround what you pasted into your selector with quotes:
"<wnd app='excel.exe' cls='XLMAIN' omit:title='MyExcelFile.xlsx - Excel' />"

3 Likes

Hi,
Here is an activity to convert the excel to pdf file.

Regards
Balamurugan.S