note 37325 added to ref.com

From: Date: Mon, 10 Nov 2003 22:25:15 +0000
Subject: note 37325 added to ref.com
Groups: php.notes 
Request: Send a blank email to php-notes+get-60219@lists.php.net to get a copy of this message
RE: PROBLEM QUITTING MICROSOFT EXCEL I strongly suspect this is due to excel helpfully asking "Do you want to save the changes you made to 'Book1'?" when Quit is called. This can be avoided by making sure that you set the 'Saved' property to True on ALL workbooks before exiting. Assuming you only have the one workbook: $excel->ActiveWorkbook->Saved = 1 Word suffers a similar problem and you must set the saved property to true on each document. This demonstrates the pitfalls of scripting Word, Excel and similar applications in a non-interactive environment. ---- Manual Page -- http://www.php.net/manual/en/ref.com.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37325 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37325&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37325&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60219) next »