Displaying a progress value

Hi all

What’s the trick to making NSB.ShowProgress(“Progress x%”) work? The counter doesn’t display till the 100% mark. In ExcelVBA I’d do a .repaint function in the loop displaying the text.

Cheers

Have you tried the NSB.ShowProgress sample?

Yes. That works in a delay timed function but I’m trying to display which “count” a For loop is up to during “loading”. Shows the first only eg following would only show “Up to row 0”

For r = 0 to 500
  NSB.ShowProgress("Up to row " & r)
  more code....
next
NSB.ShowProgress(False)

I tried the ShowProgress in a function to no success

That won’t work. Execution of the loop needs to stop for the screen to be updated.