ValidationRule.Ignored Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Determines whether the validation rule is currently ignored. Read/write.

expression .Ignored

expression A variable that represents a ValidationRule object.

Return Value

Boolean

Issues that pertain to an ignored rule are still recorded but, by default, they are not displayed in the Issues window.

The following Visual Basic for Applications (VBA) example shows how to use the Ignored property to specify that the validation rule named "Unglued2DShape" should not be ignored.

Set vsoValidationRule = vsoValidationRuleSet.Rules.Add("Unglued2DShape")
vsoValidationRule.Ignored = False
Show: