RE: How to fit in each excel in one Page of PDF

Hello Friend , Could you please let me know how can we pass Input Excel & Output PDF as path to your code…as input Arguments…

My input/output files are at shareholder location every time will be new file to process.

its on priority for me…Thanks.

Hi @Bot_Learner1

If you want to process multiple files, you will want to loop over the sample code, and use the input argument property to pass a new path to the file on each iteration.

You will want to change the input argument like so:

I believe any of these file path formats will work out of the box, but it might require some further testing:
"input.txt"
(file in the current directory)

".\input.txt"
(explicit current directory)

"..\data\input.txt"
(parent directory)

"C:\Users\YourName\Documents\input.txt"
(absolute path)

"\\ServerName\ShareName\input.txt"
(UNC path)

EDIT. I will make this message public in case other community members want to chime in with more details.

2 Likes

Sure, Thanks for your response Sir…I will try this and update you acccordigly.

Hello Sir , i tried but unfortunately it wont help

inputExcel : “Shard folder Path\input.xls”
optPutPDF : “Shard folder Path\output.pdf”

Hello , I am able to resolve this issue by Activity Name : Excel to PDF , Package Name : ExceltoPDFConversionActivities , Version : 1.1.5 , By : Sreyas VS

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