Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

i have a excel sheet(.xls) and i want to convert that excel sheet into .pdf i try to solve and goggling but i not get a any proper way to do this in mostly solution they are used a third-party tool so any other way to do this please tel me if any one have idea regarding this or any useful link for do this.

Thanks.
Posted
Comments
Aydin Homay 3-Jun-13 7:32am    
Maciej Los 3-Jun-13 7:32am    
Install virtual printer ;)
Google with: "pdf printer free"
bhavesh002 3-Jun-13 7:36am    
i want this task using coding
Maciej Los 3-Jun-13 7:37am    
You did not provide any information about your programming language...
bhavesh002 3-Jun-13 9:20am    
i use .net programing language

 
Share this answer
 
v2
Comments
Maciej Los 4-Jun-13 4:38am    
Good suggestion. My 5!
Sergey Alexandrovich Kryukov 4-Jun-13 9:00am    
Thank you, Maciej.
—SA
bhavesh002 wrote:

i try below link and convert excel to pdf successfully http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.exportasfixedformat.aspx[^] but now my problem is that in my excel sheet 3 worksheet sheet1,sheet2 and sheet3 this code convert all sheet in a one pdf if i want to sheet1,sheet2 and sheet3 as a individual how i pass path of particular excel sheet with worksheet?? any idea about this?? if you have any idea or any useful artical link please share with me. thanks.

Maciej Los wrote:

There is no problem to convert each sheet into separate pdf file, because Worksheet interface provides the same method as Workbook interface. See this: http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.worksheet.exportasfixedformat.aspx[^]
 
Share this answer
 
Comments
Member 10546296 27-Jan-14 0:34am    
I am not suppose to use office 2007 but 2003. Do you have any solution so that i can convert excel to pdf. There is office 2003 installed in server and we do not want to upgrade it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900