Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Aug 2001
    Location
    Spring City, Pennsylvania, USA
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    Hi Y'all,

    I'm stuck trying to get the VBA in Outlook 2000 to show me the value of a loop counter in a text field called fldCTR. That is, I have a User Form called frmINFO that I ask to show up, like so:

    for i = 1 to MailCt

    frmINFO.fldCTR = "Counter is: " & Format(i)
    frmINFO.Show
    ... other loop stuff...

    frmINFO.Hide
    next i

    The form DOES appear but is blank ! (whether or not I hide the form at the bottom of the loop) If I change the form to Modal (frmINFO.Show 1), it shows the correct value for each loop, but requires me to close the form for each iteration. What I'm looking for is a "standard" progress indicator, so I also tried some of the extra controls available, like StatusBar and ProgressBar, but as part of the UserForm, they have the same problem.

    Can anyone help?

    Thanks in advance !

    - David

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    Force a redrawing of the form by inserting

    frmINFO.Repaint

    immediately below the frmINFO.Show.

  3. #3
    New Lounger
    Join Date
    Aug 2001
    Location
    Spring City, Pennsylvania, USA
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    Oh, Duh! (It's the easy stuff that cr*ps me up!) THANKS!

Posting Permissions

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