MS Word UserForm ControlTipText
I have a userform that I have created in MS Word with VBA.
The userform contains a Multipage1, cmdOK and cmdCancel command buttons.
Multipage1 has Page1 - Page4
Page1 has Frame1 - Frame7
Each Frame has chkboxes and/or optbuttons
I am trying to have the ControlTipText show for the controls within the Frames without any luck. I have brought all controls that require the ControlTipText forward.
The command buttons display the ControlTipText without problem.
Please help me resolve this. Thank you!
Code:
Private Sub UserForm_Initialize()
With frm1.MultiPage1
With .Page1
With .Frame1
.chk1.ControlTipText = "Tip 1"
.chk2.ControlTipText = "Tip 2"
End With
With .Frame2
.opt3.ControlTipText = "Tip 3"
.opt4.ControlTipText = "Tip 4"
.opt5.ControlTipText = "Tip 5"
End With
'''
.Frame7.chk20.ControlTipText = "Tip 20"
End With
'''
With .Page4
.chk40.ControlTipText = "Tip 40"
End With
End With
cmdOk.ControlTipText = "Save and Close"
cmdCancel.ControlTipText = "Close"
End Sub