Reminder.IsVisible property (Outlook)
Returns a Boolean that determines if the reminder is currently visible. Read-only.
Syntax
expression.IsVisible
expression A variable that represents a Reminder object.
Remarks
Outlook determines the return value of this property based on the state of the current reminder. All active reminders are visible. If IsVisible is True, the reminder is visible.
Example
The following Microsoft Visual Basic for Applications (VBA) example dismisses all reminders that are currently visible. For example, if the current reminder is active, the IsVisible property will return True.
Sub DismissReminders()
'Dismisses any active reminders.
Dim objRems As Outlook.Reminders
Dim objRem As Outlook.Reminder
Dim i As Integer
Set objRems = Application.Reminders
For i = objRems.Count To 1 Step -1
If objRems(i).IsVisible = True Then
objRems(i).Dismiss
End If
Next
Set olApp = Nothing
Set objRems = Nothing
Set objRem = Nothing
End Sub
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.