Connecting Tech Pros Worldwide Forums | Help | Site Map

Covert PDF from Excel to specific location by Adobe PDF printer

Newbie
 
Join Date: Mar 2008
Location: Australia
Posts: 23
#1: Feb 2 '09
Hello Friends, I am facing a problem to create PDF from excel to specific location by using Adobe PDF Printer ib VB.


I used code:
Dim xlbook As Excel.Workbook
.
.
.
.
xlbook.PrintOut , , 1, 0, "Adobe PDF", True, True, "C:\Test.pdf"

Its work, But After make PDF I cant open the file , bacuse its say file is damage or corrupted.

Could any one please help me out the the proper solution.

Many thanks in advance.

Reply