Sub SetRect(Left As Long, Top As Long, Width As Long, Height As Long)
|Left||Long||Left side of the control|
|Top||Long||Top side of the control|
|Width||Long||Width of the control|
|Height||Long||Height of the control|
A faster way how to set position and size of a control. Width and height contains dimensions of control including its borders.
For setting size of form controls and panels, consider using the SetClientRect method.