AWFAX Err Msg with Excel: A Document with the Name...

Last reviewed: July 29, 1996
Article ID: Q119207
The information in this article applies to:
  • Microsoft Windows for Workgroups version 3.11
  • Microsoft Excel for Windows, versions 4.0, 5.0

SYMPTOMS

When you send a fax from Microsoft Excel with Microsoft At Work PC Fax by choosing Send Mail from the File menu, you may receive one of the following error messages:

  • A document with the name <filename> is already open

    -or-

  • General Protection fault in the file VBA.DLL

    -or-

  • Undeliverable Mail - Error while rendering fax

NOTE: This problem does not occur with other Microsoft Office applications.

CAUSE

When you send mail from an application and address the message to a FAX recipient, Microsoft Mail calls the application associated with the attached document to render (print) the document to generate the final .DCX output file. Because Microsoft Excel does not support having two copies of the same document open simultaneously, you receive one of the errors noted above.

WORKAROUND

To work around this problem in Microsoft Excel 5.0:

  1. From the Microsoft Excel File menu, choose Print.

  2. Choose Printer Setup.

  3. Choose "Microsoft At Work Fax on FAX:" and then choose OK twice.

To work around this problem in Microsoft Excel 4.0:

  1. From the Microsoft Excel File menu, choose Page Setup.

  2. Choose Printer Select.

  3. Choose "Microsoft At Work Fax" as the default printer.

When you fax a document this way, the application renders the document, and then a Mail message is created with an attached .DCX file.

MORE INFORMATION

When you choose the File Send command, Microsoft Excel embeds the active sheet in a mail message. The embedded object uses the name of the active sheet and is given the extension .XLS. When the message is ready to be faxed, Microsoft Mail activates the object. Upon activation, the embedded sheet is copied to the TEMP directory and Microsoft Excel is told to open it. After the file is opened, a Print command is sent to Microsoft Excel, and the file is printed to the fax port.

The aforementioned errors occur when the embedded file uses the same name as the workbook that is already open in Microsoft Excel. The embedded sheet fails to open, Microsoft Excel displays a message indicating there is already a file with that name open, and the fax is never sent.

Application Note WG0992, "Updated Files for Microsoft At Work PC Fax Version 1.0," addresses a similar issue. If the steps taken above do not correct this problem, you may want to order WG0992. For information about obtaining WG0992, query on the following words in the Microsoft Knowledge Base:

   wg0992 and appnote


KBCategory: kbprint kbfile kbappnote kbinterop
KBSubcategory: wfw wfwg awfax
Additional reference words: gpf


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.