D
Danu
Hi -
I have a large macro which takes codes and descriptions and makes tables.
For each group, there are two tables. In one table, one field is the code the
second is the description. In the second table, one field is the description,
the second is the code.
Each of these table is then transferred to Excel. There is no issue
transferring any of the tables which have the code as the first field and the
description of the second and begin inserting in column A. However, the
second table, which has the description first and the code second, must go on
the same worksheet in Excel in columns further down on the worksheet, e.g.,
columns D or E, etc.
I have drilled down to where the errors are occurring in the macro and it is
where the table is exported to the spreadsheet starting at columns D or E,
etc. All of these fail. I receive the error Too Many Fields Defined from
Access. Am I using incorrect naming convention? In the macro the Action is
TransferSpreadsheet, the range in the transfers that work is APPLE!A2:C450.
The range in the transfers that don't work is APPLE!D2:F450, etc.
The tables are mirror images of each other, just the fields reversed. Any
idea what I have done wrong?
Thanks.
I have a large macro which takes codes and descriptions and makes tables.
For each group, there are two tables. In one table, one field is the code the
second is the description. In the second table, one field is the description,
the second is the code.
Each of these table is then transferred to Excel. There is no issue
transferring any of the tables which have the code as the first field and the
description of the second and begin inserting in column A. However, the
second table, which has the description first and the code second, must go on
the same worksheet in Excel in columns further down on the worksheet, e.g.,
columns D or E, etc.
I have drilled down to where the errors are occurring in the macro and it is
where the table is exported to the spreadsheet starting at columns D or E,
etc. All of these fail. I receive the error Too Many Fields Defined from
Access. Am I using incorrect naming convention? In the macro the Action is
TransferSpreadsheet, the range in the transfers that work is APPLE!A2:C450.
The range in the transfers that don't work is APPLE!D2:F450, etc.
The tables are mirror images of each other, just the fields reversed. Any
idea what I have done wrong?
Thanks.