Visual Basic Editor Not Resizing/Maximizing

The Visual Basic editor in Microsoft Word and Excel does not support maximizing or resizing to the left or right part of the screen.

I'm using Monterey Version 12.0.1.

Is there any solution available to allow windows to snap like in any other application?