When I search Microsoft, I get lots of hits from external sites, nothing from Microsoft.
Why can't Microsoft provide an answer for this frequently asked question?
Better yet, documentation on how to disable.
Hi,
I feel your pain. It appears MS have given up writting Help files and relies on surfacing material from third-party websites. If you want to only see the MS help in the "Help" files, switch to "Show content only from this computer" in the bottom-right
corner of the Help window.
How to disable saving as .csv warnings?
As for how to disable these warnings, I don't think it is possible via the Graphical User Interface. But don't be so down on VBA programming. You can use the following code to give you exactly what you want:
- Press Alt+F11 to open the VBE.
- In the top-left pane you should see a folder-tree-like structure. Right-click on "VBAProject (PERSONAL.XLSB)" > Insert Module.
If you can't see "VBAProject (PERSONAL.XLSB)" then go back to Excel and do View tab > Macros... > Record Macro... > Store macro in: Personal Macro Workbook > OK > then do View tab > Macros... > Stop Recording. Go back to the VBE and you should now see it.
- In the new Module (on the right of the VBE), paste the code below.
- In the VBE click the Save button.
- Close the VBE and return to Excel.
- Right-click on the ribbon at the top of Excel > Customize the Quick Access Toolbar >Choose commands from: Macros, then add your SaveAsCSV macro > OK.
- You should now be able to click the button on the QAT to run the SaveAsCSV macro. A SaveAs dialog will be displayed, but the CSV file type will already be selected, and you wont get any warnings when you click Save.
Hope that helps.
Cheers
Rich
Here's the code:
Sub SaveAsCSV()
Dim vFileName As Variant
Dim strInitFName As String
'Strip extension from current filename: strInitFName = ActiveWorkbook.Name
If InStrRev(ActiveWorkbook.Name, ".") > 0 Then
strInitFName = Left(strInitFName, InStrRev(strInitFName, ".") - 1)
End If
'Show SaveAs dialog: vFileName = Application.GetSaveAsFilename( _
InitialFileName:=ActiveWorkbook.Name, _
FileFilter:="CSV (Comma delimited) (*.csv), *.csv")
'Save the file as CSV: If vFileName <> False Then ActiveWorkbook.SaveAs vFileName, xlCSV
End Sub