dbTalk Databases Forums  

Re: VFP printing an Excel spreadsheet

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Re: VFP printing an Excel spreadsheet in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Freeman
 
Posts: n/a

Default Re: VFP printing an Excel spreadsheet - 07-11-2003 , 10:08 AM






Set Excel.DisplayAlerts = .f.

Dan

"Rich R." <rich (AT) bittar (DOT) org> wrote

Quote:
Hello all.

I've found the code in this newsgroup on how to create an instance of
Excel, open up the worksheet and print it. It works great. However,
when I issue the oleExcel.quit command, Excel prompts the user to save
the worksheet even though no changes have been made. The user can
either click "No", or press the "TAB" button, then "Enter" to exit the
application.

Is there a way to make it so Excel doesn't prompt the user to save the
spreadsheet, or can VFP somehow tell Excel to click the "No" button?

Thanks again.



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.