Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Outlook Developer Reference |
After the Find method runs, this method finds and returns the next Outlook item in the specified collection.
Syntax
expression.FindNext
expression A variable that represents an Items object.
Return Value
An Object value that represents the next Outlook item found in the collection.
Remarks
The search operation begins from the current position, which matches the expression previously set through the Find method.
The method returns an Outlook item object if the call succeeds; it returns Null (or Nothing in Visual Basic) if it fails.
Example
This Visual Basic for Applications (VBA) example uses the GetDefaultFolder method to return the Folder object that represents the default Calendar folder for the current user. It then uses the Find and FindNext methods to locate all the appointments that occur today and display them in a series of message boxes.
Visual Basic for Applications |
---|
|
See Also