I am trying to convert my MSJ ucm into a macro and would like some help. Below is what I derived. It seems when running it as a macro the first line doesn't properly envoke, leaving View 1 hanging over into my second monitor. When I type these lines through the keyin, one at a time, everything runs fine. What would cause the macro not run when run the first line? Also, how can I get this macro, once perfect, to run automatically when I open a new design file. Would I put some line of code in my UPF? Sub main Dim startPoint As MbePoint Dim point As MbePoint, point2 As MbePoint ' Start a command MbeSendCommand "DIALOG TOOLBOX MAIN OFF " MbeSendCommand "DIALOG SNAPS OFF" MbeSendCommand "VIEW OFF ALL " MbeSendCommand "VIEW ON 1 " MbeSendCommand "MGDSHOOK, msDialogState.viewSettingsP->flags.line_wghts", 0&'" MbeSendCommand "VIEW ON 5 " MbeSendCommand "WINDOW TILE " MbeSendCommand "DIALOG TOOLBOX MAIN ON " MbeSendCommand "DIALOG SNAPS " End Sub thanks redbyrd