Returns the connector between two similar property test values. The default value is msoConnectorAnd. Read-only MsoConnector.
MsoConnector can be one of these MsoConnector constants. |
msoConnectorAnd |
msoConnectorOr |
A connector specifies whether two similar search criteria will be combined to form one property test (as with msoConnectorAnd) or treated independently (as with msoConnectorOr).
This example displays a message that describes how the search criteria will be evaluated in a file search.
With Application.FileSearch.PropertyTests(1)
If .Connector = msoConnectorAnd Then
MsgBox "All search criteria will be combined."
Else
MsgBox "Criteria will be treated independently"
End If
End With