Save Excel File as PDF in studios- X

Hi All,

I am using the latest stable versions of 22.12.00, as per the video it was earlier version if we are following we are getting an error. Just I want to save excel file as PDF but it need to specific name automatically.

as of now I am using as below:

When I am using above one , I was able save only last pdf file but I need to save all 4 pdf files into the current folder.

@Govardhan_Nalluri

If you want 4 then use loop and run for 4 files

Cheers

I am able to get four files but while saving it is only replacing with same name Untitled only the last file but I required save all the four files

@Govardhan_Nalluri

Then you have to change the file name accordingly…as you have same file name it is replacing the old one…

If you are running in loop you can add the index to filename ao that all files are saved

Cheers

my requirement as below.
I have excel four 4 files ,

  1. I need to down those four files
  2. by using client code I need search for discount in web site.
  3. I need to apply those discount to excel file.
  4. Need to save as PDF file. ( and place to local folder). it is one of the practice from UiPath studio X.
    I was able to save last pdf , each time while saving the pdf it shows save different names . How to handle case here.

@Govardhan_Nalluri

Change the pdf file name…if yoi are using for loop…for loop properties will have index…create a variable say count for that

Then in save pdf instead of untitled.pdf use "untitled" + count.Tostring + ".pdf"

Cheers

Thank you Anil , I resolved the issue with below details

@Govardhan_Nalluri

Thsi also would do…you just need to change the name and make it dynamic…

Happy automation

Cheers