I have been trawling around the internet for hours trying to work out this one, can anyone help?
I have written some code that transfers a set of data from an excel sheet into *.csv file. I would like to be able to open it in using Notepad and then save it as a *.csv with UNICODE as the 'Encoding:' type.
To open the document in notepad I have used:
Shell "Notepad.exe" & " " & "C:\MyDocs\test.csv"
I can close and save the document by adding 'vbhide' at the end:
Shell "Notepad.exe" & " " & "C:\MyDocs\test.csv", vbHide
Can anyone tell me how I can specify that it showed be saved with 'Encoding:' as UNICODE rather than the default ANSI?
I have written some code that transfers a set of data from an excel sheet into *.csv file. I would like to be able to open it in using Notepad and then save it as a *.csv with UNICODE as the 'Encoding:' type.
To open the document in notepad I have used:
Shell "Notepad.exe" & " " & "C:\MyDocs\test.csv"
I can close and save the document by adding 'vbhide' at the end:
Shell "Notepad.exe" & " " & "C:\MyDocs\test.csv", vbHide
Can anyone tell me how I can specify that it showed be saved with 'Encoding:' as UNICODE rather than the default ANSI?