Click or drag to resize

IWorkbook FindAll Method (DateTime)

This method seraches for the all cells with specified DateTime value.
Examples
This sample shows how to find all cells with specified DateTime value:
<para>//Create workbook</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>//Find cells with specified DateTime value</para><para>CellRange[] result = workbook.FindAllDateTime(DateTime.Now);</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
CellRange[] FindAll(
	DateTime findValue
)

Parameters

findValue
Type: System DateTime
Value to search.

Return Value

Type: CellRange
All found cells, or Null if value was not found.
See Also