text based on Combo box selection
Hi
Word 2010
I have a combo box, with Engineer an option.
I have a bookmark also called Grade, If Engineer is select then Grade should equal D
Private Sub UserForm_Initialize()
With Me.cboPosition
.AddItem "Engineer"
End With
End Sub
Private Sub cmdOk_Click()
Selection.GoTo What:=wdGoToBookmark, Name:="Position"
Selection.TypeText Me.cboPosition
If Me.cboPosition = True Then
Selection.GoTo What:=wdGoToBookmark, Name:="Grade"
Selection.TypeText "E"
How do I Get the word E to display?
Thanks
Ross
|