Dear all,
I have a CSV file contain many fields. All fields have value. However, I want to set the value for fields 24 until 26 to 0. How can i do that by using VBScript? I want the script to force the field value to be 0..and fyi, my CSV file have header in the first row. Thanks in advance for any help. Below i illustrate my original csv file and the expected output. Thanks in advance for any help.
Original csv
Field1, Field2,....,Field24, Field25, Field26, Field27
"20120803","ABC",...,9.032,24.52,6.325,21.12
"20120803","ABC",...,5.242,17.53,7.005,21.12
Expected output csv
Field1, Field2,....,Field24, Field25, Field26, Field27
"20120803","ABC",...,0,0,0,21.12
"20120803","ABC",...,0,0,0,21.12
I have a CSV file contain many fields. All fields have value. However, I want to set the value for fields 24 until 26 to 0. How can i do that by using VBScript? I want the script to force the field value to be 0..and fyi, my CSV file have header in the first row. Thanks in advance for any help. Below i illustrate my original csv file and the expected output. Thanks in advance for any help.
Original csv
Field1, Field2,....,Field24, Field25, Field26, Field27
"20120803","ABC",...,9.032,24.52,6.325,21.12
"20120803","ABC",...,5.242,17.53,7.005,21.12
Expected output csv
Field1, Field2,....,Field24, Field25, Field26, Field27
"20120803","ABC",...,0,0,0,21.12
"20120803","ABC",...,0,0,0,21.12