+ Reply to Thread
Results 1 to 3 of 3

Open userform and hide excel application

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    Open userform and hide excel application

    Hello EveryOne!


    I have got a Useform. I want on Sheet1 when i click on Userform button to open it ; then excel application should be hide and only userform should be show.

    I do not want it on startup.

    I have attached Excel worksheet with userform.

    Thank you

    Regards
    z-eighty2
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Open userform and hide excel application

    Use ...
    Please Login or Register  to view this content.
    in the userform Initialize event handler. Make sure you set it visible again in the userform Terminate event handler...

    This is generally a bad idea - any issue and you are left with a hidden instance of Excel that will have to be killed using task manager - if you have other, unsaved, workbooks open in that instance, you will lose the changes.

    My opinion is it's safer just to hide the workbook window
    Please Login or Register  to view this content.
    Again, making sure to set it visible in the Terminate event.
    Last edited by cytop; 01-31-2014 at 11:15 AM.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Open userform and hide excel application

    Please Login or Register  to view this content.
    Last edited by patel45; 01-31-2014 at 12:21 PM.
    If solved remember to mark Thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Open userform and hide active workbook only
    By occhibei in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2013, 04:55 PM
  2. Want to Hide a UserForm source book while keeping main XL workbook open...
    By MBlaster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2012, 05:52 PM
  3. open other excel application by vba
    By ppyxl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2006, 11:15 AM
  4. open new sheet in to a new excel application
    By Oz in forum Excel General
    Replies: 1
    Last Post: 12-13-2005, 04:10 PM
  5. [SOLVED] Can not open excel files without open application
    By Taarfa in forum Excel General
    Replies: 3
    Last Post: 07-09-2005, 07:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1