I've been trying to replace all "#" in a Excel worksheet using a winform application...
I tried with something like this
Excel.WorksheetClass excelWorksheet = (Excel.WorksheetClass)application.Worksheets[1];
excelWorksheet.Cells.Replace(@"\", "", Excel.XlLookAt.xlWhole, Excel.XlSearchOrder.xlByColumns, false, Type.Missing, false, false);
But it just replace those "#" that are alone in a cell, if the cell value is "#ABC" then it does not replaces, advanced option in excel allow to do this, but how can I do that using Iterop classes.
Regards