ndeuma
ndeuma

Reputation: 759

Formula for checking if a Visio ShapeSheet section is empty

I need an action in the shape context menu to be enabled only when there is at least one hyperlink (the "Hyperlinks" section is non-empty).

Is there a formula for this?

Upvotes: 1

Views: 804

Answers (1)

Jordan Evens
Jordan Evens

Reputation: 415

If you mean a formula for testing if there are any hyperlinks try:

    If (vsoShape.RowCount(visSectionHyperlink) > 0) Then
        'Code to enable context menu
    End If

Upvotes: 1

Related Questions