Application.BoxGetYPosition method (Project)
Returns the vertical position of the upper-left corner of a box in the active Network Diagram. At a zoom setting of 100%, the number of nonscaleable units returned by BoxGetYPosition is equivalent to an equal number of pixels.
expression. BoxGetYPosition
( _TaskID_
, _ProjectName_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
TaskID | Required | Long | The identification number of the task. |
ProjectName | Optional | String | If the active project is a consolidated project, specifies the name of the project for the identification number specified by TaskID. The default value is the name of the active project. |
Long
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.