Table of contents
Collapse the table of content
Expand the table of content

ValidationIssues.Count Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns the number of ValidationIssue objects in the collection. Read-only.


expression . Count

expression A variable that represents a ValidationIssues object.

Return Value



The following Visual Basic for Applications (VBA) example shows how to use the Count method to determine how many validation issues exist in the collection of validation issues in the active document.

Set vsoDocument = Visio.ActiveDocument 
Set vsoIssues = vsoDocument.Validation.Issues
intIssueTotal = vsoIssues.Count
© 2018 Microsoft