Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default Printing mulitple times to adobe

Hello experts,
I'm trying to run a loop/series of print cycles and have the pdf saved to
the hard drive of the user (path is typed out in cell J5 as you will see
inthe code below..)
The code runs nicely and creates the .pdf files but you can't open them
because it says they are corrupted.
Can anyone shed some light on this?
Code below:


Private Sub Print_Click()
Dim i As Integer 'partner number

For i = 1 To Range("J6").Value

Range("B4").Value = i
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Printtofile:=True,
Prtofilename:=Range("J5").Value

Next i

End Sub
Reply
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
Adobe inserting into Excel causing the adobe file to be low dpi Chronic Excel Discussion (Misc queries) 0 April 25th 07 10:16 AM
Adobe Acrobat DKS1 Excel Discussion (Misc queries) 5 July 13th 05 07:10 PM
Adobe 6.0 Standard Paul Banerjee Excel Discussion (Misc queries) 2 March 17th 05 02:31 AM
how to re install Adobe Acrobat in Excel? The adobe Acrobat work. Execl error Excel Discussion (Misc queries) 1 March 17th 05 02:29 AM
Adobe PDF Jerry Dixon Excel Discussion (Misc queries) 3 December 6th 04 06:17 PM


All times are GMT +1. The time now is 09:14 AM.

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

About Us

"It's about Microsoft Excel"