Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Excel to PDF

Status
Not open for further replies.

VBWizzard

Computer
Jun 12, 2003
1
Does anyone have VB source code to convert Excel documents to PDF.

I have Acrobat distiller installed.

Thx
 
Replies continue below

Recommended for you

I have distiller also, from Excel, this allows a <Print> to PDF, once the print setup has distiller selected as the print device.


Doug Calli
Callico Special Effects
 

you have to find an ocx that let you make a pdf files. So, you get excel data and write it using ocx's method.
 
Done this using VB, Excel and Acrobat Distiller, Thanks for trying to help
 
derrick, you said you can use these three object s can convert excel to pdf in VB, right. Can you tell me how to do it? Please give me the sample please.
 
Hi cardoso, I try this before. It is a printer driver which for convert Excel to PDF. However, I want a DLL or OCX which I can use it in .NET program which can convert the Excel report to PDF for output. Any suggeston? Thanks anyway!
 
Using PDF995, I record a macro in Excel and copy it's VBA code to use elsewhere.:
Code:
    Application.ActivePrinter = "PDF995 on Ne00:"
    ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
        "PDF995 on Ne00:", Collate:=True

Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting

UK steam enthusiasts:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor