ACC1x: TransferSpreadsheet Causes Error -1310

Last reviewed: June 3, 1997
Article ID: Q106294
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SYMPTOMS

When you are importing or exporting to Microsoft Excel using the TransferSpreadsheet macro action, the following error is generated:

   Reserved error (-1310); there is no message for this error.

CAUSE

When the table name is left blank in the TransferSpreadsheet Action, Microsoft Access cannot determine the table to export.

RESOLUTION

To correct this, include a valid table or query that you want to import or export in the "Table Name" argument.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new macro named ExcelExport:

          ExcelExport Actions
          -------------------
          TransferSpreadsheet
    
             Transfer Type: Export
             Spreadsheet Type: Microsoft Excel
             Table Name: (leave blank)
             File Name: C:\ACCESS\TEST.XLS
             Has Field Names: Yes
             Range: (leave blank)
    
    

  2. Run the Macro ExcelExport.


Keywords : IsmExl4 kbinterop McrActn
Version : 1.0 1.1
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
Resolution Type : kbworkaround


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: June 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.