Visual Basic for Applications Class III. User Forms We place controls on User Forms to get input...
15
Visual Basic for Applications Class III
-
date post
21-Dec-2015 -
Category
Documents
-
view
220 -
download
1
Transcript of Visual Basic for Applications Class III. User Forms We place controls on User Forms to get input...
User Forms We place controls on User Forms to get
input from the user. Common controls include text boxes,
command buttons, and check boxes. Forms and controls can both trigger events that our programs can respond to.
Events Any action, e.g. clicking a button, opening
a form, etc. generates an event. VBA handles events by sending them to
procedures named Object_Event. Example: If click on a button named cmdPressMe then VBA will try to run a procedure named cmdPressMe_Click