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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File names

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
I'm creating a spreadsheet from a query and exporting it to Excel, but I need to do this several times and so
I need to save a file of the same name several times , but I want to surpress the 'FILE ALREADY EXISTS. ARE YOU SURE YOU WANT TO CONTINUE.....etc'. Does anyone have any info to share on this one ???

Steady ... [thumbsup2]
 
Use the SetWarnings facility

DoCmd.SetWarnings False
'Run the query & export file
DoCmd.SetWarnings True



QED

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top