Read the csv with read csv file and get the output as datatable as dt
Once after reading use a INVOKE CODE activity where pass dt as input argument
And inside the activity use this expression
dt.AsEnumerable().ToList().ForEach(Sub(row)
For Each cell In row.ItemArray
Dim value As String = cell.ToString()
If value.StartsWith("=""") AndAlso value.EndsWith("""") Then
row.SetField(Array.IndexOf(row.ItemArray, cell), value.Trim(""""c))
End If
Next
End Sub)
In the process of converting from CSV to Excel, do you have datatable as the intermittent value, if so we could maybe try converting using the Linq Expression mentioned in the post below :
For your case :
dtCorrected = (From r In dtData.AsEnumerable
let ra = r.ItemArray.Select(Function (x) x.ToString.Trim.Replace("""","").Replace("=","")).toArray()
Select dtCorrected.Rows.Add(ra)).CopyToDataTable()
Another Option would be to use Modern Excel Replace Activity which will effect the Excel sheet directly :