LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Print to PDF

I need to create code that will print a 50 page report to Acrobat PDF. If I
manually click on "Adobe PDF" - "Convert to Adobe PDF" with the "Convert
Entire Workbook" checked... it works perfect! But using the following code
it will only print one page;

ActiveWorkbook.PrintOut Copies:=1, ActivePrinter:= _
"Adobe PDF on Ne02:", Collate:=True

If I create a new workbook, the above code works perfect. I have tried to
isolate the problem by creating the problem in a new workbook by changing
layout, margins, fit to one page etc. but no matter what I do it still works
perfectly.

I have tried to strip just about everything out of my workbook, down to 2
pages with a little text on each and it still does not work. I copied these
two page to a new workbook and it would not work.

I have looked and looked and not found a reason why it is doing this or a
solution. If anyone can help it would truely be appreciated.

I am using Excel 2000, Acrobat 7.0 Pro and XP Pro.

Regards,
Ronbo


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print and Print Preview Graphic Moving Resizing 2007/2003 Adam Rayburn Excel Discussion (Misc queries) 0 April 4th 07 04:18 PM
Macro to hide rows with a certain cell empty then set print area and print tahrah Excel Programming 12 January 9th 07 03:47 AM
cell borders that I create dont show on print preview or print scott3435 Excel Discussion (Misc queries) 2 April 6th 06 02:37 AM
Pivot Table macro to set print area and print details of drill down data Steve Haskins Excel Discussion (Misc queries) 2 December 28th 05 04:59 PM
Need Help w/ Print Macro to Print All Visible Sheets (including Charts) in a Workbook will Excel Programming 3 September 23rd 04 08:05 PM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"