Microsoft Knowledge Base |
|
Excel: Using Crosstab After DAM in Macro Causes Error Message |
|
|
Last reviewed: September 12, 1996
Article ID: Q108010 |
|
The information in this article applies to:
SUMMARYWhen you run a macro that uses the Data Access Macro to download information from a remote database server to Microsoft Excel, and the macro then creates a crosstab report based on that data, you may receive one of the following error messages:
MORE INFORMATIONThe Data Access Macro generates the hidden name int_ext_sel to store information important to the external database connection. When the connection is closed from a macro, using the Close.Connection() command, the defined name is not deleted. The CROSSTAB() function recognizes this defined name and attempts to create a crosstab using the external database for the source of information. Once the connection has been closed, there is no external database. Microsoft Excel executes an SQL command to return information about the data tables present in the external database. This command fails, and Microsoft Excel returns the error message.
Steps to Reproduce Problem
STATUSMicrosoft has confirmed this to be a problem in the versions of Microsoft Excel listed above. We are researching this problem and will post new information here invthe Microsoft Knowledge Base as it becomes available.
|
|
KBCategory: kbprb
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |