Consulting

Results 1 to 3 of 3

Thread: Problem in displaying a progress bar

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Problem in displaying a progress bar

    Hi all,

    Here I am dealing with heavy calculations with VBA, so wanted to put a Userform saying that "calculation is going on". Here my goal is, just when calculations start that userform will pop-up and when it complete that will automatically hides. So I wrote following codes :

    [VBA]sub calculation()
    userform1.show
    .................................
    calculations
    .................................
    userform1.hide
    end sub[/VBA]

    However this strategy seems not working. calculation() is not doing anything as long as userform1 is open. Once I close it manually then I get the results from calculation(), otherwise it doesn't.

    What is the correct way to do that? Am I missing anything ? Your help will be highly appreciated.

    Thanks
    Last edited by Aussiebear; 02-21-2010 at 02:55 PM. Reason: Added vba tags to code

Posting Permissions

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