• Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    Author
    Topic
    #386024

    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

    Viewing 0 reply threads
    Author
    Replies
    • #668252

      Force a redrawing of the form by inserting

      frmINFO.Repaint

      immediately below the frmINFO.Show.

      • #668308

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

    Viewing 0 reply threads
    Reply To: Outlook Progress Indicator Needed (Outlook 2000 / VBA)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: