I found code to save a single sheet as CSV. But I am getting error: Run-time error '1004' Cannot access read-only document 'MasterCallOneList.CSV'
How to fix?
The document is actually a new document that does not exist, so I don't know why it would say that the document is read-only.
Application.DisplayAlerts = False Dim strFullName As String strFullName = Application.Path + "\MasterOneCallList.CSV" ThisWorkbook.Sheets("Combined").Copy ActiveWorkbook.SaveAs Filename:=strFullName, FileFormat:=xlCSV, CreateBackup:=True ActiveWorkbook.Close Application.DisplayAlerts = True
strFullName = Application.Path + "\MasterOneCallList.CSV"-going to work?