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

Outputto Method: How do I have the system Promt users when overwriting

Status
Not open for further replies.

okitamura

IS-IT--Management
Jul 24, 2004
8
0
0
US
I am using Outputto method in Access to output a query to excel spreadsheet by specifying a file name. My question is: "Is there a way for Access Application to Prompt a user when the same file name exists in the directory specified within the Output Method parameter? Right now, it overwrites the file withiout any warning. A code example would be very much appreciated.
Thank you in advance!

 
Take a look at the Dir and MsgBox or InputBox functions.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top