How to know whether replace success or fail?
Posted
by
YUG
on Stack Overflow
See other posts from Stack Overflow
or by YUG
Published on 2012-06-06T08:50:18Z
Indexed on
2012/06/06
10:40 UTC
Read the original article
Hit count: 276
c#
|excel-interop
bool rep = xlWorkSheet.Cells.Replace(textBox1.Text,
textBox2.Text,
Excel.XlLookAt.xlWhole,
Excel.XlSearchOrder.xlByRows,
false,
Type.Missing,
Type.Missing,
Type.Missing);
© Stack Overflow or respective owner