PC Review


Reply
Thread Tools Rate Thread

Bypass "Save PDF File As" Prompt via VBA in Excel

 
 
justin.arnold2@gmail.com
Guest
Posts: n/a
 
      29th Nov 2007
I'm Running Windows 2K Server with Office 2000 Pro and Adobe Acrobat
6.0 Standard. I do no have distiller. I've written some code to
automatically convert one worksheet to a PDF and then e-mail it based
on whether a certain cell value is met. I would like to Save the PDF
to the My documents folder. The printer port for the Adobe PDF printer
is set on my documents. I have disabled the "Ask to Replace Existing
PDF File" option in the printer driver. I am still being prompted
however to manually Save the file each time the macro runs. How can I
bypass this prompt so that this process is fully automated. I've
searched this board for 3 hours and have tried most everything
suggested however I have not found a solution. Please see my code
below. Any help with getting rid of the "Save PDF File As" dialog
would be appreciated. Thanks in advance.

'****
'Prints Sheet to Adobe Printer and converts to PDF
'****

Application.ActivePrinter = "Adobe PDF on Ne06:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"Adobe PDF on Ne06:", Collate:=True
ActiveWindow.SmallScroll Down:=6

Application.DisplayAlerts = False

Call modWait.Wait

End Sub
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to disable "save" prompt in excel file on web server? davidshakh@gmail.com Microsoft Excel Misc 0 9th May 2007 05:58 PM
Bypass "Do you want to open or save this file?" for ASPX/TIF files =?Utf-8?B?Um9i?= Windows XP Internet Explorer 0 31st Jan 2007 02:58 PM
Bypass the "Do you want to open or save this file" dialog box =?Utf-8?B?RGlkaWVy?= Windows XP Internet Explorer 7 27th Jan 2005 01:05 PM
Re: MS Word 2000 does not prompt when "save as" file is intended Cindy M -WordMVP- Microsoft Word Document Management 0 29th Sep 2004 02:03 PM
How can I get "File Close" to prompt me to "Save Changes" ?? Charles Jordan Microsoft Excel Programming 4 31st Jul 2003 04:01 PM


Features
 

Advertising
 

Newsgroups
 


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