Code to Minimize UserForm
Code to Minimize UserForm
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Code to Minimize UserForm

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    35
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Hi all,
    I have a workbook which minimizes when it is opened, then I have to click on the minimized workbook to show the form. I have started writing some code for a way to search the worksheet - just in case the user makes an error. I have gotten as far as stating what is to be found, the worksheet pops up but the form is still visible andhat I can't get it to minimize. Is there any code I can use to minimize my form and when I have made the amendment to the worksheet, and then code to maximize it again so that I can continue.

    Thanks

    Carol
    Thanks

  2. #2
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Try using the following code:

    UserForm1.Hide

    UserForm1.Show

    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com