I have a csv file with mix of string and numbers in different columns. I want to replace all "?" characters form column C.
I am trying the following:
Set wb_dst = Workbooks.Open("C:\myFile.csv")
Set ws_dst = wb_dst.Sheets(1)
values = ws_dst.Range("C1:c500").Value
values = Replace(values, "?", "")
But not sure how to dump this value back to column C without replacing values in other columns. Or, is there any other way to perform the above task or replacing certain characters only in a certain column from a csv file on local drive?
Edit: I am looking to update the values in column C for myFile.csv so I suppose I have to dump data to column C, I am not sure?