OK then can you help me with the command of MxDocument_OpenDocument. I am trying to open a form when an mxd is opened. I don't know how to code for my form frmMapSetUp. The only examples I see are for msgboxes and I don't have one of those. Please help!!!