What you are doing should work. Even if an object is not visible, you can still call it programmatically.
>I have a timer and a command button on a form.
>
>I set the Command Button Visible property to .F. so you can't see the button.
>
>In the timer I have this code -
>THISFORM.command2.Click()
>
>Is there a way to make the command button invisible, but still let the timer press the button at certain intervals? I don't think it worked when I tested it late this afternoon.
>
>Thanks in advance and then some.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer