Version

AddDateTimeCondition Method

Adds a new DateTimeConditionalFormat instance to this collection.
Syntax
'Declaration
 
Public Function AddDateTimeCondition( _
   ByVal regionAddress As String, _
   Optional ByVal dateOperator As FormatConditionTimePeriod _
) As DateTimeConditionalFormat

Parameters

regionAddress
A string identifying the region to which this conditional format applies.
dateOperator
A FormatConditionTimePeriod which defines the time period against which cell date values are evaluated. This parameter is optional and defaults to Today.

Return Value

The resulting DateTimeConditionalFormat instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also