G
GrPacker
I am trying to do something that seems rather simple, but I cannot get
it to work. To keep it simple, I just need to proper syntax of how to
return the value selected from a drop-down.
I have a Word FormField Drop-down box with list items already
created. A user will choose an option and then later I want to base
some actions on that option.
My List box's bookmark name is "Title"
Here is my sample code:
If Me.FormFields("Title").Result = "Staff" Then
MsgBox ("Staff")
End If
If Me.FormFields("Title").Result = "Manager" Then
MsgBox ("Manager")
End If
I dont think .Result is the right option. I have also
tried .DropDown.Value as well and that does not work. Please help
asap!
Nate
it to work. To keep it simple, I just need to proper syntax of how to
return the value selected from a drop-down.
I have a Word FormField Drop-down box with list items already
created. A user will choose an option and then later I want to base
some actions on that option.
My List box's bookmark name is "Title"
Here is my sample code:
If Me.FormFields("Title").Result = "Staff" Then
MsgBox ("Staff")
End If
If Me.FormFields("Title").Result = "Manager" Then
MsgBox ("Manager")
End If
I dont think .Result is the right option. I have also
tried .DropDown.Value as well and that does not work. Please help
asap!
Nate