AddNewFrame Method Example

This example adds a new frame to the immediate right of the specified frame.

ActiveDocument.ActiveWindow.ActivePane.Frameset _
    .AddNewFrame wdFramesetNewFrameRight