Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

runtime error 3010

Status
Not open for further replies.

nicklewisj

IS-IT--Management
Nov 9, 2006
11
GB
Hi All,

You proberly have seen this before but attemptin to simply transfer a query results into a spreadsheet using

DoCmd.TransferSpreadsheet _
TransferType:=acExport, _
SpreadsheetType:=acSpreadsheetTypeExcel97, _
TableName:="query_name", _
FileName:="file", _
HasFieldNames:=True

there is five in total being run but on the last it decides to go to error 3010 table 'name' already exists even though all the others exist isa there something access end or excel end that is stopping this

any ideas why/how you can stop/fix this would be much appreciated



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top