Indicates whether the searched key is regex. If true the searched key will be taken as regex and parsed. Otherwise the key will be parsed according to the rules in ms excel.
[C#]//Instantiate the workbook objectWorkbookworkbook=newWorkbook("book1.xls");//Get Cells collection Cellscells=workbook.Worksheets[0].Cells;//Instantiate FindOptions ObjectFindOptionsfindOptions=newFindOptions();//Create a Cells AreaCellAreaca=newCellArea();ca.StartRow=8;ca.StartColumn=2;ca.EndRow=17;ca.EndColumn=13;//Set cells area for find optionsfindOptions.SetRange(ca);//Set searching propertiesfindOptions.SearchBackward=false;findOptions.SeachOrderByRows=true;findOptions.LookInType=LookInType.Values;//Find the cell with 0 valueCellcell=cells.Find(0,null,findOptions);[VB.NET]'InstantiatetheworkbookobjectDimworkbookAsNewWorkbook("book1.xls")'GetCellscollectionDimcellsAsCells=workbook.Worksheets(0).Cells'InstantiateFindOptionsObjectDimfindOptionsAsNewFindOptions()'CreateaCellsAreaDimcaAsNewCellArea()ca.StartRow=8ca.StartColumn=2ca.EndRow=17ca.EndColumn=13'SetcellsareaforfindoptionsfindOptions.SetRange(ca)'SetsearchingpropertiesfindOptions.SearchBackward=TruefindOptions.SeachOrderByRows=TruefindOptions.LookInType=LookInType.Values'Findthecellwith0valueDimcellAsCell=cells.Find(0,Nothing,findOptions)