- vba save as csv without prompt
- vba save as csv comma delimited
- excel vba save as csv with prompt
- application.getsaveasfilename csv
- fileformat:=xlcsv
Sub SaveAsCSV()
Dim fName As Variant
Dim MyFilter As String
MyFilter = "CSV (*.csv),*.csv"
fName = Application.GetSaveAsFilename(FileFilter:=MyFilter)
If fName = False Then Exit Sub
ActiveWorkbook.SaveAs Filename:=fName, FileFormat:=xlCSV
End Sub
Steps:
- Create a Quick Access Toolbar (QAT)
- Excel Options → Quick Access Toolbar → choose Macros command → select PERSONAL.XLSB!SaveAsCSV → click Add >> → OK
- You may customize the QAT icon and display name by clicking at Modify → then select your icon and change Display name accordingly
- Click at the QAT SaveAsCSV to save your file as CSV file
- Done
No comments:
Post a Comment