Hi
Can anyone tell me the best way to add a short time delay to a loop - When a form opens I am trying to create a gradual increment in tone (for aesthetic purposes) using:
Dim counter As Variant
counter = 0
While counter < 255
counter = counter + 1
Me.Detail.BackColor = RGB(counter, counter, counter)
Wend
how can I "time" this function?
Can anyone tell me the best way to add a short time delay to a loop - When a form opens I am trying to create a gradual increment in tone (for aesthetic purposes) using:
Dim counter As Variant
counter = 0
While counter < 255
counter = counter + 1
Me.Detail.BackColor = RGB(counter, counter, counter)
Wend
how can I "time" this function?