The Left property returns or sets the coordinate for the left edge of the window. Returns a long.
Syntax
object.Left
object.Left = newVal
Parameter |
Type |
Description |
NewVal |
Long |
required; in pixels |
Example 1
This example demonstrates how to return the distance between the left side of the application window and the left side of the desktop window in pixels.
Debug.Print mvApp.Left
Example 2
This example demonstrates how to position the left side of the application window 150 pixels from the left of the Desktop window.
mvApp.Left = 150
Used by: Application object, Window object