+ Reply to Thread
Results 1 to 3 of 3

How to keep it from looking like its locked up

  1. #1
    Registered User
    Join Date
    08-30-2006
    Posts
    40

    How to keep it from looking like its locked up

    I wrote a program that uses an excel spreadsheet as source data to access mainframe systems and perform various functions, and while its running everything works great but if the user tries to click on their excel spreadsheet it looks like the computer is locked up. Its not really locked up, but looks it because it can't display excel until the program finishes. So, when users see this, they think something is wrong...open their task manager, and shut it down in the middle of its process screwing up all sorts of stuff. Is there a way I can either make excel look normal, completely hide excel so they don't mess with it, or give them some sort of status indicator that lets 'em know the program is still running? Everything is written in the VBA editor within excel.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if a progress bar works. Here's some examples

    http://www.xcelfiles.com/ProgressBar.html

    http://www.andypope.info/vba/pmeter.htm

    http://www.cpearson.com/excel/Progress.htm

    http://www.dailydoseofexcel.com/arch.../progress-bar/

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    08-30-2006
    Posts
    40
    The problem with a progress bar is that users won't see it because other applications run on top of excel while this is going. What if I just use a doevents command during ever loop, will that make it so that excel will appear correctly when they try to look at it? If I do that I can keep a progress bar in the spreadsheet which will remain visible for them when they need to see it...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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