Application.BoxLinkLabelsShow method (Project)

Shows or hides link labels in the active Network Diagram.

Syntax

expression. BoxLinkLabelsShow( _Show_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Show Optional Boolean True if link labels display in the active view. The default value is True if link labels are hidden and False if they are visible.

Return value

Boolean

Example

The following example first displays and then hides the labels.

Sub ShowBoxLink() 
 
 'Activate the Network Diagram view 
 ViewApply Name:="Network Diagram" 
 
 Result = BoxLinkLabelsShow(True) 
 Result = BoxLinkLabelsShow(False) 
End Sub

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.