Size to Grid Command (Format Menu)

Microsoft Visual Basic User Interface

Size to Grid Command (Format Menu)

   

Adjusts the height and width of the selected object to fit the nearest gridlines in the form. You can change the size of your grid on the General tab of the Options dialog box.

Toolbar shortcut:   .