To enable scripting of Multiframe within your VBA script you must first reference the Multiframe Object Library in the Visual Basic environment. To do this, select the Tools | References command from the main menu.

Search the list of items displayed in the resulting dialog and find the Multiframe 1.1 Object Library entry. To enable Multiframe simply click in the check box to its left and then press OK to exit the dialog. If the reference is set up correctly you should get the benefits of automatic assistance in the editor as you write your macros or scripts. Amongst other things, this will automatically list the properties and methods of objects as you write VBA code.
The VBA subroutine listed below is a simple script that uses Multiframe
automation. Type this script into the
VBA programming environment.
Sub MyScript()
Dim mfApp As New
Multiframe.Application
Dim myFrame As Multiframe.Frame
Set myFrame = mfApp.Frame
MsgBox myFrame.Name
End Sub
Before running this script, make sure Multiframe is running and a frame has been loaded from disk. Now run this script from the VBA environment, it will display a dialog containing the name of the file open in Multiframe.