Keyboard Shortcuts to Move/Resize Controls

Top  Previous  Next


The Keyboard Shortcuts to Move/Resize Controls allow you to define keyboard shortcuts to move/resize the selected control(s) one pixel in each direction (up, down, left, right) when designing userforms of VBA, a functionality that is provided by designers of other IDEs (Visual Studio, VB6) but that the VBA editor doesn't provide.

To define the keyboard shortcuts you need to use the Keyboard Shortcuts Options. For each kind of command (move, resize) and direction (up, down, left, right) you need to define a keyboard shortcut.

For example, to define the Ctrl+Shift+<arrow-down> keyboard shortcut to move the control down you would use:


And so on with all the required commands:



See Also:

Keyboard Shortcuts Options