Napomena
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Positions the selected task boxes in the active Network Diagram view according to its layout options.
expression. LayoutSelectionNow
expression A variable that represents an Application object.
Boolean
Layout options can be set with the BoxLayout and BoxLinks methods.
The LayoutSelectionNow method is only available when a Network Diagram view is active.
The following example positions the selected boxes in a top-down layout.
Sub Layout_SelectionNow()
'Activate Network Diagram view
ViewApply Name:="Network &Diagram"
BoxSet Action:=pjBoxAddToSelection, TaskID:=2
BoxLayout LayoutMode:=pjLayoutManual, LayoutScheme:=pjLayoutTopDownByDay
LayoutSelectionNow
End Sub
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.