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

Turning off messages

Status
Not open for further replies.
Mar 12, 2001
30
GB
Hi all,

I have set up some access VBA code to convert an excel file to a csv but keep getting the regular messages asking whether you want to keep the existing format etc...

Does anyone know of a way to turn these messages off or to automate responses to these prompts.

I am trying to minimise as much user input as possible and to automate the process to the fullest.

Thanks in advance for any help offered.

Dee
 
Try
Docmd.SetWarnings(False)to turn them off.
But don't forget to turn them back on by changing False to True when you've finished. :-V

Cheers,

Steve Make things as simple as possible — but no simpler.
 
what command are you ising to change the format of the file.

Jo Cheers
Jo Jones
 
Sorry - wasn't answering your question, just that I am unaware of a convert method. are you using SaveAs? Cheers
Jo Jones
 
Thanks for responding guys.

Steve....thanks but already tried that and it doesn't prevent the dialog boxes from turning up.

Jo, thanks for responding. Yes I am using saveas.

Cheers

Dee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top