From: Anthony on
I created a template with a drop down form field. (not a UserForm)
Can I retrieved the user-selected item using VBA.

Anthony


From: Fumei2 via OfficeKB.com on
ActiveDocument.FormFields("name").Result

Anthony wrote:
>I created a template with a drop down form field. (not a UserForm)
>Can I retrieved the user-selected item using VBA.
>
>Anthony

--
Gerry

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/201004/1

From: Anthony on
ActiveDocument.FormFields("myname").Result

Error: Doesn't exists (Error5941) in collection

I set label and titel properties to 'myname'.

Anthony


From: macropod on
Hi Anthony,

Obviously, you need to change "myname" to whatever bookmark name is assigned to your formfield - see under the formfield's
properties. If the formfield doesn't have a bookmark name, give it one.

--
Cheers
macropod
[Microsoft MVP - Word]


"Anthony" <Anthony(a)anti.spam.com> wrote in message news:eLiKvzz2KHA.4716(a)TK2MSFTNGP06.phx.gbl...
> ActiveDocument.FormFields("myname").Result
>
> Error: Doesn't exists (Error5941) in collection
>
> I set label and titel properties to 'myname'.
>
> Anthony
>
>

From: Anthony on
Thx.

Anthony


"macropod" <macropod(a)invalid.invalid> wrote in message
news:O$2a2H22KHA.4752(a)TK2MSFTNGP02.phx.gbl...
> Hi Anthony,
>
> Obviously, you need to change "myname" to whatever bookmark name is
> assigned to your formfield - see under the formfield's properties. If the
> formfield doesn't have a bookmark name, give it one.
>
> --
> Cheers
> macropod
> [Microsoft MVP - Word]
>
>
> "Anthony" <Anthony(a)anti.spam.com> wrote in message
> news:eLiKvzz2KHA.4716(a)TK2MSFTNGP06.phx.gbl...
>> ActiveDocument.FormFields("myname").Result
>>
>> Error: Doesn't exists (Error5941) in collection
>>
>> I set label and titel properties to 'myname'.
>>
>> Anthony
>>
>>
>