Sep 02 2021 09:58 AM
Is there a way to export from a multi-tabbed Excel workbook to a unique CSV file?
Currently I am using the 'save-as' file process , but this 'converts' the opened file. I am seeking to export the active tab to CSV but still be active in the XLSX file.
Sep 02 2021 10:21 AM
Sep 02 2021 10:51 AM
Hello @DKoontz
The concern is not in relation to a change in the existing underlying data, but rather it changes the file type that affects continuing with new data/effort.
I'm seeking to find something better than the "clunky" process you've identified.
Have you created anything in VBA for this?
Sep 02 2021 11:29 AM
Saving as CVS then saving back to XLSX isn't too bad, but for VBA you would just need a macro that saved as CSV the saved back to XLSX.
Something like this should work: just change where your workbook and export should go:
ActiveWorkbook. SaveAs FileName:="C:\My Documents\MyCSV", FileFormat:=xlCSV
ActiveWorkbook. SaveAs FileName:="C:\My Documents\MyXLXS", FileFormat:=xlOpenXMLWorkbook
Sep 05 2021 12:24 AM
Sep 22 2021 02:57 PM