How to work with CSV files in Excel without warnings?

S

Samuel R. Neff

We work with a lot of CSV files in Excel and would like to turn off
the warning that the file "may contain features that are
incompatible..".

Is it possible to allow saving a CSV file without warnings?

Thanks,

Sam
 
B

Bernie Deitrick

Sam,

You could use a macro:

Sub TryNow()
Dim myFName As String
myFName = Application.GetSaveAsFilename(, "*.csv,*.csv")
If Right(myFName, 4) <> ".csv" Then myFName = myFName & ".csv"
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs myFName, xlCSV
Application.DisplayAlerts = True
End Sub


HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top