Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Convert Excel to PDF

Status
Not open for further replies.

VBWizzard

Computer
Jun 12, 2003
1
0
0
GB
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
 
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.
Back
Top