+ Reply to Thread
Results 1 to 3 of 3

show userform ontop of anything that is happening in the background in excel

  1. #1
    Registered User
    Join Date
    04-07-2011
    Location
    Gent, Belgium
    MS-Off Ver
    Excel 2007
    Posts
    38

    Question show userform ontop of anything that is happening in the background in excel

    Hi,

    I have a userform with some buttons and I'm using a textbox as a logbox to show some comments while the data is being processed.
    I use something like this:

    Please Login or Register  to view this content.
    The problem is that excel is busy and the form becomes blank with a wheel turning and only when it's done does the form reappear completely.

    With busy I mean that in my case for each item in a collection class a file is being made (xls) and it makes a file works in it, then closes it automatically and start with the next.
    In the meantime I want to show which one is being processed but the form is blank and you can't see any label, textbox, button,...

    Any advice to make sure the userform is shown. What happens in excel should be hidden in the background if possible.

    Thanks in advance.
    Last edited by gosa; 01-04-2012 at 02:10 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: show userform ontop of anything that is happening in the background in excel

    Hello gosa,

    There are several ways to keep a UserForm visible. The best approach depends on knowing what your code is doing. For that reason, you should post a copy of your workbook. If you can not then it will require a lot of posting of code, questions, and answers.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    04-07-2011
    Location
    Gent, Belgium
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: show userform ontop of anything that is happening in the background in excel

    Hi,

    Thanks for taking time to answer.
    I will try to put an example so you can see what I mean.
    It will be tomorrow I think cause I still need to work on some other parts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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