Page 442 - Computer Software Application TP - Volume 1
P. 442
COMPUTER SOFTWARE APPLICATION - CITS
• Step 5: Select ‘Userform’ from the objects drop-down and select ‘Initialize’ method as shown in the following
screenshot.
• Step 6: Upon Loading the form, ensure that the text boxes are cleared.
Private Sub UserForm_Initialize()
txtid.Value = “ “
txtname.Value = “ “
txtbp.Value = “ “
txtda.Value = “ “
txthra.Value = “”
txtded.Value = “ “
txtts.Value = “ “
txtns.Value = “ “
txtid.SetFocus
End Sub
427
CITS : IT & ITES - Computer Software Application - Exercise 71