Some of the content in this topic may not be applicable to some languages.
Returns the condition of the specified search criteria. Read-only MsoCondition.
MsoCondition can be one of these MsoCondition constants. |
msoConditionAnyNumberBetween |
msoConditionAnytime |
msoConditionAnytimeBetween |
msoConditionAtLeast |
msoConditionAtMost |
msoConditionBeginsWith |
msoConditionDoesNotEqual |
msoConditionEndsWith |
msoConditionEquals |
msoConditionFileTypeAllFiles |
msoConditionFileTypeBinders |
msoConditionFileTypeCalendarItem |
msoConditionFileTypeContactItem |
msoConditionFileTypeDatabases |
msoConditionFileTypeDataConnectionFiles |
msoConditionFileTypeDesignerFiles |
msoConditionFileTypeEPaperFiles |
msoConditionFileTypeExcelWorkbooks |
msoConditionFileTypeJournalItem |
msoConditionFileTypeMailItem |
msoConditionFileTypeNoteItem |
msoConditionFileTypeOfficeFiles |
msoConditionFileTypeOutlookItems |
msoConditionFileTypePhotoDrawFiles |
msoConditionFileTypePowerPointPresentations |
msoConditionFileTypeProjectFiles |
msoConditionFileTypePublisherFiles |
msoConditionFileTypeTaskItem |
msoConditionFileTypeTemplates |
msoConditionFileTypeVisioDocuments |
msoConditionFileTypeWebPages |
msoConditionFileTypeWordDocuments |
msoConditionFreeText |
msoConditionIncludes |
msoConditionIncludesFormsOf |
msoConditionIncludesNearEachOther |
msoConditionIncludesPhrase |
msoConditionInTheLast |
msoConditionInTheNext |
msoConditionIsExactly |
msoConditionIsNo |
msoConditionIsNot |
msoConditionIsYes |
msoConditionLastMonth |
msoConditionLastWeek |
msoConditionLessThan |
msoConditionMoreThan |
msoConditionNextMonth |
msoConditionNextWeek |
msoConditionOn |
msoConditionOnOrAfter |
msoConditionOnOrBefore |
msoConditionThisMonth |
msoConditionThisWeek |
msoConditionToday |
msoConditionTomorrow |
msoConditionYesterday |
Example
This example returns the condition value for search criteria for the first property test.
With Application.FileSearch.PropertyTests(1)
MsgBox "The condition you've set is: " & .Condition
End With