MsoCondition Enumeration

Defines the condition for comparison between a file and a specified property in a file search.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Public Enumeration MsoCondition
'Usage
Dim instance As MsoCondition
public enum MsoCondition

Members

Member name Description
msoConditionFileTypeAllFiles File can be any type.
msoConditionFileTypeOfficeFiles File can be any Office file type.
msoConditionFileTypeWordDocuments Word document.
msoConditionFileTypeExcelWorkbooks Excel workbook.
msoConditionFileTypePowerPointPresentations PowerPoint presentation.
msoConditionFileTypeBinders Binder file.
msoConditionFileTypeDatabases Database.
msoConditionFileTypeTemplates Template.
msoConditionIncludes Value of the file property specified in Name property of the PropertyTest object includes the value specified in the Value property of the PropertyTest object.
msoConditionIncludesPhrase Value of the file property specified in Name property of the PropertyTest object includes the phrase specified in the value specified in the Value property of the PropertyTest object.
msoConditionBeginsWith Value of the file property specified in Name property of the PropertyTest object begins with the value specified in the Value property of the PropertyTest object.
msoConditionEndsWith Value of the file property specified in Name property of the PropertyTest object ends with the value specified in the Value property of the PropertyTest object.
msoConditionIncludesNearEachOther Value of the file property specified in Name property of the PropertyTest object and the value specified in the Value property of the PropertyTest object are near each other.
msoConditionIsExactly Value of the file property specified in Name property of the PropertyTest object is exactly the value specified in the Value property of the PropertyTest object.
msoConditionIsNot Value of the file property specified in Name property of the PropertyTest object is not the value specified in the Value property of the PropertyTest object.
msoConditionYesterday Date specified in the Name property of the PropertyTest object is yesterday.
msoConditionToday Date specified in the Name property of the PropertyTest object is today.
msoConditionTomorrow Date specified in the Name property of the PropertyTest object is tomorrow.
msoConditionLastWeek Date specified in the Name property of the PropertyTest object is within the last week.
msoConditionThisWeek Date specified in the Name property of the PropertyTest object is this week.
msoConditionNextWeek Date specified in the Name property of the PropertyTest object is next week.
msoConditionLastMonth Date specified in the Name property of the PropertyTest object is within the last month.
msoConditionThisMonth Date specified in the Name property of the PropertyTest object is this month.
msoConditionNextMonth Date specified in the Name property of the PropertyTest object is next month.
msoConditionAnytime Date specified in the Name property of the PropertyTest object can be any time.
msoConditionAnytimeBetween Date specified in the Name property of the PropertyTest object is between the dates specified with the Value and SecondValue properties of the PropertyTest object.
msoConditionOn Date specified in the Name property of the PropertyTest object is the same as the date specified in the Value property of the PropertyTest object.
msoConditionOnOrAfter Date specified in the Name property of the PropertyTest object is on or after the date specified in the Value property of the PropertyTest object.
msoConditionOnOrBefore Date specified in the Name property of the PropertyTest object is on or before the date specified in the Value property of the PropertyTest object.
msoConditionInTheNext Date specified in the Name property of the PropertyTest object is within the next time interval specified in the Value property of the PropertyTest object.
msoConditionInTheLast Date specified in the Name property of the PropertyTest object is within the last time interval specified in the Value property of the PropertyTest object.
msoConditionEquals Value of the file property specified in Name property of the PropertyTest object equals the value specified in the Value property of the PropertyTest object.
msoConditionDoesNotEqual Value of the file property specified in Name property of the PropertyTest object does not equal the value specified in the Value property of the PropertyTest object.
msoConditionAnyNumberBetween Any number between values specified with the Value and SecondValue properties of the PropertyTest object.
msoConditionAtMost Value of the file property specified in Name property of the PropertyTest object is at most the value specified in the Value property of the PropertyTest object.
msoConditionAtLeast Value of the file property specified in Name property of the PropertyTest object is at least the value specified in the Value property of the PropertyTest object.
msoConditionMoreThan Value of the file property specified in Name property of the PropertyTest object is more than the value specified in the Value property of the PropertyTest object.
msoConditionLessThan Value of the file property specified in Name property of the PropertyTest object is less than the value specified in the Value property of the PropertyTest object.
msoConditionIsYes Value of the file property specified in Name property of the PropertyTest object is "True".
msoConditionIsNo Value of the file property specified in Name property of the PropertyTest object is "False".
msoConditionIncludesFormsOf Value of the file property specified in Name property of the PropertyTest object includes forms of the value specified in the Value property of the PropertyTest object.
msoConditionFreeText Value of the file property specified in the Name property of the PropertyTest object matches the value specified in the Value property of the PropertyTest object when a FreeText search is used.
msoConditionFileTypeOutlookItems Outlook item.
msoConditionFileTypeMailItem Mail item.
msoConditionFileTypeCalendarItem Calendar item.
msoConditionFileTypeContactItem Contact item.
msoConditionFileTypeNoteItem Note item.
msoConditionFileTypeJournalItem Journal item.
msoConditionFileTypeTaskItem Task item.
msoConditionFileTypePhotoDrawFiles PhotoDraw file.
msoConditionFileTypeDataConnectionFiles Data connection file.
msoConditionFileTypePublisherFiles Publisher file.
msoConditionFileTypeProjectFiles Project file.
msoConditionFileTypeDocumentImagingFiles Document imaging file.
msoConditionFileTypeVisioFiles Visio file.
msoConditionFileTypeDesignerFiles Designer file.
msoConditionFileTypeWebPages Web page.
msoConditionEqualsLow Priority equals "Low". Value of the Name property must be Priority.
msoConditionEqualsNormal Priority equals "Normal". Value of the Name property must be Priority.
msoConditionEqualsHigh Priority equals "High". Value of the Name property must be Priority.
msoConditionNotEqualToLow Value of file property specified in the Name property of the PropertyTest object does not equal "Low". Value of the Name property must be Priority or Importance.
msoConditionNotEqualToNormal Value of file property specified in the Name property of the PropertyTest object does not equal "Normal". Value of the Name property must be Priority or Importance.
msoConditionNotEqualToHigh Value of file property specified in the Name property of the PropertyTest object does not equal "High". Value of the Name property must be Priority or Importance.
msoConditionEqualsNotStarted Status equals "Not Started". Value of the Name property must be Status.
msoConditionEqualsInProgress Status equals "In Progress". Value of the Name property must be Status.
msoConditionEqualsCompleted Status equals "Completed". Value of the Name property must be Status.
msoConditionEqualsWaitingForSomeoneElse Status equals "Waiting for Someone Else". Value of the Name property must be Status.
msoConditionEqualsDeferred Status equals "Deferred". Value of the Name property must be Status.
msoConditionNotEqualToNotStarted Status does not equal "Not Started". Value of the Name property must be Status.
msoConditionNotEqualToInProgress Status does not equal "In Progress". Value of the Name property must be Status.
msoConditionNotEqualToCompleted Status does not equal "Completed". Value of the Name property must be Status.
msoConditionNotEqualToWaitingForSomeoneElse Status does not equal "Waiting for Someone Else". Value of the Name property must be Status.
msoConditionNotEqualToDeferred Status does not equal "Deferred". Value of the Name property must be Status.

Remarks

Used to get or set the Condition property of the PropertyTest object. PropertyTest is part of the FileSearch object model. The behavior of FileSearch corresponds to the interactive behavior you see in the Finddialog box, which you open from the Tools menu in the application's Open dialog box (File menu).

See Also

Reference

Microsoft.Office.Core Namespace