What they said, presuming your button is called Command1, and you have a caption box that you renamed lblClick, your code should look something like this, like Juridian said, just double click the button you made-
Private Sub Command1_Click()
lblClick.caption = "Clicked!!"
End Sub




Reply With Quote