How to open CSV files safely with Microsoft Excel
A number of CSV (Comma Separated Value) data files are available for export from SupportAbility e.g. NDIS Bulk Payment Requests, Invoice Batches and Time Sheet Batches, for the purpose of importing this data to the relevant system.
Whilst there should be no need to do so, it is quite common for Staff Members to open these exported CSV files using programs like Microsoft Excel to check their contents before importing the file into a third-party application such as MYOB. This article steps through how to open CSV files safely using Microsoft Excel if the file must be opened prior to being uploaded to the required system.
Why do these files need to be opened safely?
When Microsoft Excel opens a CSV file, it attempts to interpret the data in that file and starts making changes to it. For example, if Excel sees something in the CSV file that it identifies as a date (often incorrectly), Excel will change the date format in the CSV file to suit the way that it prefers to dates to be formatted.
This is often problematic, as the data has changed just by opening the file. Then, when attempting to upload this file to the relevant system, an error may result because of this.
How to open CSV files in Excel safely to ensure the data is not changed
If you need to open a CSV file in Excel, here's how to do so in a way that ensures the data is not changed:
- In a new Excel sheet, open the File menu and select 'Import'
- Even though the file that has been exported is a CSV, select 'Text file' here as the type of file you want to import, then select:
- Select the relevant file from your Downloads or the folder/location the file is stored and select 'Get Data':
- Text Import Wizard - Step 1 of 3 - ensure 'Delimited' is selected, leave all other settings and click 'Next'
- Text Import Wizard - Step 2 of 3 - select 'Comma':
- Text Import Wizard - Step 3 of 3 - select 'Text' and click 'Finish'
- Import Data - This step asks where to import the data, if you are in a new Excel Sheet already, leave this set to 'Existing sheet' with the value as per the default:
- You will now have a spreadsheet with the imported data to review as required, without Excel have changed the required formatting for the intended third-party application:
- Once reviewed, remember to export the file from Excel to CSV again by selecting 'Save As' and choosing CSV as the File Format, before uploading to the third party application if you have made changes: