Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Disable Adobe save file prompt

Using full Adobe Acrobat Standard (not Distiller) 7.0 with Excel
2000.

Have over 2,000 pdf's to generate every month.

Process runs on three separate computers fetching data across
SQL server simultaneously.

After Excel spreadsheet is opened, current VBA code
A) connects to SQL Server and returns data based on ID of office.
B) Populates cells within four tabs on spreadsheet with
data specific to that office.
C) Output data to ind.pdf file on shared drive for others to access.
D) Fetch next office's data on SQL server.
E) process begins again until all 2,000 pdf's are created.

Each PC is assigned to generate different sets of
offices so there's no file writing conflict.

For some reason, the code bombs out and the selection to
output in PDF is lost, output is sent to default printer instead.

Used the Application.Activeprinter code posted in this group
making sure the printer is set back to Adobe Acrobat before
printing begins for each set of office data fetched.

On my own computer the first time I selected Adobe Acrobat as
the print device for this spreadsheet, and set save-file-to the
shared drive (and some other settings), the settings
were somehow hard coded into Excel, so Excel knows
when I select Adobe Acrobat, PDF's go to the shared drive.
Never had to uncheck the boxes about fonts, etc
or tell Adobe where to save the files

However, the other two computers -
used mostly for processes like
this and have no one working on them in between,
always prompt for saving the file once the code begins
to write out the PDF file,
(and some other check box's
like fonts have to be clicked again).
All computers are running Excel 2000 on Windows XP sp2.

VBA code, of course sets the directory and pdf file name,
after the data is fetched,
but the other two computers generate the Adobe prompt
when the code starts to output PDF file.

Is there any way to either disable the Adobe pop up,
or use code to tell Adobe what settings we need without
the popup?

Adobe SDK group was not helpful and sources
like PlanetPDF are absolutely worthless.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Disable Adobe save file prompt

I'm not clear on what the "pop up" does. Without knowing, I might suggest
putting this before and after the save and see what it does

Application.DisplayAlerts = FALSE 'before
Application.DisplayAlerts = TRUE 'after
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"JumboShrimps" wrote:

Using full Adobe Acrobat Standard (not Distiller) 7.0 with Excel
2000.

Have over 2,000 pdf's to generate every month.

Process runs on three separate computers fetching data across
SQL server simultaneously.

After Excel spreadsheet is opened, current VBA code
A) connects to SQL Server and returns data based on ID of office.
B) Populates cells within four tabs on spreadsheet with
data specific to that office.
C) Output data to ind.pdf file on shared drive for others to access.
D) Fetch next office's data on SQL server.
E) process begins again until all 2,000 pdf's are created.

Each PC is assigned to generate different sets of
offices so there's no file writing conflict.

For some reason, the code bombs out and the selection to
output in PDF is lost, output is sent to default printer instead.

Used the Application.Activeprinter code posted in this group
making sure the printer is set back to Adobe Acrobat before
printing begins for each set of office data fetched.

On my own computer the first time I selected Adobe Acrobat as
the print device for this spreadsheet, and set save-file-to the
shared drive (and some other settings), the settings
were somehow hard coded into Excel, so Excel knows
when I select Adobe Acrobat, PDF's go to the shared drive.
Never had to uncheck the boxes about fonts, etc
or tell Adobe where to save the files

However, the other two computers -
used mostly for processes like
this and have no one working on them in between,
always prompt for saving the file once the code begins
to write out the PDF file,
(and some other check box's
like fonts have to be clicked again).
All computers are running Excel 2000 on Windows XP sp2.

VBA code, of course sets the directory and pdf file name,
after the data is fetched,
but the other two computers generate the Adobe prompt
when the code starts to output PDF file.

Is there any way to either disable the Adobe pop up,
or use code to tell Adobe what settings we need without
the popup?

Adobe SDK group was not helpful and sources
like PlanetPDF are absolutely worthless.




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
How do I disable save prompt when exiting a sheet? Copter32 Excel Discussion (Misc queries) 7 March 12th 08 04:25 PM
is it possible to disable "save" prompt in excel file on web server? [email protected] Excel Discussion (Misc queries) 0 May 9th 07 05:58 PM
prompt user to save file as {desired_name} and save it to a variab GeneWan Excel Programming 1 January 5th 07 06:46 AM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
how to disable save prompt on closing excel file in automated mode [email protected] Excel Discussion (Misc queries) 3 July 6th 05 10:35 PM


All times are GMT +1. The time now is 06:05 PM.

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"