![]() |
#1
|
|||
|
|||
![]()
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hide/Unhide Text Based on Drop Down Selection | gw1500se | Word | 3 | 02-19-2015 12:17 PM |
![]() |
tammytran105 | Word VBA | 7 | 10-02-2014 04:30 PM |
![]() |
inquirer | Word VBA | 7 | 09-22-2014 04:41 PM |
Display paragraph of text based on value selected in combo | WordWaza | Word | 0 | 08-09-2013 06:30 AM |
Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |