Hi Guy's, I am getting a run time error on the below two highlighted code lines. I do not have enough experience to understand what the problem is so would be extremely grateful for some assistance.
Rich (BB code):
Sub UpdateProgress(pct)
With ProgressIndicator
.FrameProgress.Caption = Format(pct, "0%")
.LabelProgress.Width = pct * (.FrameProgress.Width - 10)
End With
' The DoEvents statement is responsible for the form updating
DoEvents
End Sub
Last edited by a moderator: