Evelyn,
Hi! How are you?
What do u mean by your query?
If u meant setting the Value property to the Max property value, then in the Click event of your button:
myCommandbutton.Click()
ThisForm.oleProgBar.Value = ThisForm.oleProgBar.Max
HTH,
Dennis
>i have a progressbar in my form, i'd like to set its value to maximum when a button is pressed in my form.. can i do that?
>
>TIA