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

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.

Additional query words: gpf

Keywords : awfax wfwg
Version : WINDOWS:3.11,4.0,5.0
Platform : WINDOWS
Issue type :
Technology :

Last Reviewed: October 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use.