Hi Keith,
Thank you for contacting us and I'm sorry about the issue you're experiencing. Can you tell me where you are trying to create the CSV file? If you don't select the location or if the location is a location that mSecure does not have permission to use, you will get a script error. My first suggestion would be to try to save the CSV file to your Desktop folder to see if the folder location might be your issue here.
Fixed it. I was trying to save it to the Dropbox back-up folder which it couldn't access.
Keith Robert
When I select the option to create a csv export file, an error box pops up saying 'Script Error' and no data is created, just an empty file.