SendObject

A

Angie

I have a SendObject macro set up to send a query as an
Excel file via Outlook. I use this all the time. But I
have a file that is 32,290 records long, and I'm getting
an error back that reads "There are too many rows to
output, based on the limitation specified by the output
format or by Microsoft Access" Can I get around this? I
really need it to be in a macro and automatically done on
the switchboard. HELP!
 
V

Van T. Dinh

Depending on your Access version, which can use one of the earlier Excel
file format which can only take 16K rows. This is most likely the problem
here.

For example, with the TransferSpreadsheet Method (in VBA) in A2K, the
default Excel file format is acSpreadsheetTypeExcel3 which is Excel 3.0 (I
think).

Try the SendObject Method in VBA and see if the FindObject Method uses a
later version of Excel which can take more than 16K rows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top