User-824764785 posted
Call it a bug but in many excel sheet numeric values are appended with ' sign to display and format cell properly. You can use this code to find and remove apostrophe
public string RemoveApostrophe(string val)
{
if(val.StartsWith("'"))
val = val.SubString(1);
if(val.Contains("'"))
val = val.Replace("'", string.Empty);
return val.Trim();
}