Legal Information |
|
Private Sub OK_Click( ) andThe lines of code that will perform the operation associated with the Command button are placed between these two lines. The name OK_Click() is also generated automatically and refers to the action, click, that when performed on a button with a Name of OK is executed.
Dim ....
End Sub
Following the Private Sub .. statement, enter a Dim statement to define any variables used within the code executed by this command button. Values already defined when constructing Text boxes (the Name value) do not need to be defined.
The following sections contain pieces of Visual Basic code that perform specific functions.
Search Knowledge Base | Feedback |