Click or drag to resize

Workbook FindAllDateTime Method

Finds the cell with the input datetime.
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
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public CellRange[] FindAllDateTime(
	DateTime dateTimeValue
)

Parameters

dateTimeValue
Type: System DateTime
Datetime value to search for.

Return Value

Type: CellRange
Found ranges.
See Also