Autoeng
Why me?
- Local time
- Today, 18:01
- Joined
- Aug 13, 2002
- Messages
- 1,302
I have too many rows (16,600+) rows in a table I am trying to export to Excel using the following code.
Is there another Excel format that I could use to get past the record limit?
Code:
Option Compare Database
'------------------------------------------------------------
' Autoexec
'
'------------------------------------------------------------
Function Autoexec()
DoCmd.SetWarnings False
On Error Resume Next
Kill "S:\everyone\abkgrann\tbl2009.xls"
DoCmd.OpenQuery "qrytbl1009", acViewNormal, acEdit
DoCmd.OutputTo acTable, "tblqry2009QA", "MicrosoftExcelBiff8(*.xls)", "s:\everyone\abkgrann\tbl2009QA.xls", False, "", 0
DoCmd.OpenTable "tbl2009QA", acViewNormal, acEdit
DoCmd.Maximize
DoCmd.GoToRecord , "", acNewRec
DoCmd.SetWarnings True
End Function
Is there another Excel format that I could use to get past the record limit?