Split the Code window
You can split the Code window horizontally into two panes to view different code segments of a module at the same time. Each pane scrolls separately, both horizontally and vertically. The Procedure and Object box options refer to the pane that has the focus. Code changes are immediately reflected in both panes.
To split the Code window into panes
- Drag the split bar at the top of the vertical scroll bar down from the upper-right corner of the Code window.
To remove a split from the Code window
- Double-click the split bar or drag it to the top or bottom of the Code window.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.