Results 1 to 2 of 2

Thread: Open and closing a form

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    38

    Open and closing a form

    How do I close one form and open another in Excel when clicking on a command button? Simple problem I know, just something I havn't needed to do before.

    Many Thanks

  2. #2
    Lively Member TheFIDDLER's Avatar
    Join Date
    May 2002
    Location
    here and there and far away
    Posts
    126
    Code for your button click event with the following:

    Unload Me
    frmNew.show

    However, if you plan to return to the first form, rather than unloading it from memory, you can just hide it.

    Me.hide
    frmNew.show

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width