find and replace

Nov 9, 2009 at 3:26 PM

Hi all,

I'm discovering the library ExcelPackage.

I would like to find a keyword in an existing XLSX file and replace this keyword by another word via code.

Is it possible ?

Many thanks in advance for your help.


Jul 14, 2011 at 12:53 PM

ws.Cells.Formula.Replace("old", "New"


Jul 21, 2011 at 3:07 PM

Sorry but I don't see "Cells" property into ExcelWorksheet class.

Can you write a full sample code to understand, please ?

Thanks in advance