Hello, i have created an excel file where there is a button and when the user presses it, it prompts a window for the user to select a CSV file to be edited.
After the file is selected i make some changes and save it to a new csv file that works fine, but i struggle to add double quotes (") to the K column. The data in the K column are numbers of this format : 0000012345.
I have tried using this :
but the result when i open the new csv file are in this format : """0000012345""". I want to be like this : "0000012345".
Any idea how may i do it ?
Thanks in advance.
After the file is selected i make some changes and save it to a new csv file that works fine, but i struggle to add double quotes (") to the K column. The data in the K column are numbers of this format : 0000012345.
I have tried using this :
VBA Code:
Dim k As Range
For Each k In Range("K2", Range("K" & Rows.Count).End(xlUp))
k.Value = Chr(34) & k.Value & Chr(34)
Next k
but the result when i open the new csv file are in this format : """0000012345""". I want to be like this : "0000012345".
Any idea how may i do it ?
Thanks in advance.