473,498 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Covert PDF from Excel to specific location by Adobe PDF printer

24 New Member
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.
Feb 2 '09 #1
0 1408

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1998
by: Hank Reed | last post by:
I have been using the ShellExecute command for about a year to print out a list of PDF files. It's a great capability. Of course, the documents are actually printed by the Adobe application. We...
6
5252
by: jdph40 | last post by:
We recently had to upgrade the computers in our company. Now our office's website on our company intranet no longer recognizes reports saved in snapshot format. We get an error message that the...
1
1370
by: Daniel Plocica | last post by:
I have a c# app and I added the reference of Excel 10 to it. I build an Excel doc within the app and I can not figure out how to: 1. Print the doc to a printer?? and 2. I would like to be able to...
0
4131
by: e-lores | last post by:
I need to print an excel doc to PDF. I'm doing next until now 1.- First I print the file to PostScript format using 'Acrobat Distiller' printer Dim wbook As Excel.Workbook wbook =...
3
3067
by: Wensui Liu | last post by:
Dear all, right now, I have 20 something excel reports that need to be converted to pdf and I have pdf write installed on my PC. Is there a way that I can do so in python?
0
1205
by: Sheila Jipping | last post by:
My current code to print the .PDF is as follows.... strShell = """C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe"" " & "/p /h " & pdfFile How could I change this statement so that I...
3
3385
by: billelev | last post by:
Hi there, I have some code that prints a report to a pdf driver (Adobe). I am using this code on two different machines, and hence two different installations of Access. On one machine the pdf...
3
1994
by: veaux | last post by:
Adobe has WAY to many forums and I wasn't sure which was correct so thought I'd try here first. I'm trying to see if there is a product that will allow us to create a large (1,100 pg) directory,...
1
6214
by: billelev | last post by:
Here is some code that I have adapted slightly. It allows a report to be printed to a specific location. It works by calling SaveReportAsPDF and specifying the access report name, and the root...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7167
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5464
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4915
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
292
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.