I've never done it before either. I was wondering if it was even possible.
I guess I'll just have to change the Outlook form to use checkboxes instead
of radio buttons.
I apologize but I have another question. Now that I've got the script to
work, I'm having a problem with the oDoc.FormFields' appearing in the
printouts.
To better explain, I have written the code and what appears on the printed
form.
Code:
oDoc.FormFields("NewspaperOrMagazine").Result =
item.userproperties("Newspaper or Magazine")
Printed form:
[ ] Newspaper/Magazine: <<NewspaperOrMagazine>>
It doesn't show this in all the fields, just a few. I can't seem to figure
it out.
> Sorry, but I've never seen an option button control in a Word document. How did you do that?
>
[quoted text clipped - 16 lines]
> >> > I hope someone has the answer to this. I've searched online and in Word and
> >> > Outlook books to no avail. Thank you!
Why change the Outlook form? It's Word that doesn't have option buttons fields. You can decide how you want to show the property value in the Word document -- either with checkbox fields or text fields.
Sorry, but I don't understand what the "this" in "show this" is.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> I've never done it before either. I was wondering if it was even possible.
> I guess I'll just have to change the Outlook form to use checkboxes instead
[quoted text clipped - 15 lines]
>
>> Sorry, but I've never seen an option button control in a Word document. How did you do that?
>> > Thank you so much Sue. I will try using the value property.
>> > And how would this work with a radio button? Would it be the same code but
[quoted text clipped - 14 lines]
>> >> > I hope someone has the answer to this. I've searched online and in Word and
>> >> > Outlook books to no avail. Thank you!
ajkim001 - 26 Jan 2006 17:09 GMT
ahhh I see what you mean :o)
How can I show the value of the option button in the Outlook form to appear
as a text field in the Word doc?
I apologize for not being able to better explain what it is that I am
seeing. Perhaps I will post my question again when I come up with a better
description of the problem.
> Why change the Outlook form? It's Word that doesn't have option buttons fields. You can decide how you want to show the property value in the Word document -- either with checkbox fields or text fields.
>
[quoted text clipped - 38 lines]
> >> >> > I hope someone has the answer to this. I've searched online and in Word and
> >> >> > Outlook books to no avail. Thank you!
Sue Mosher [MVP-Outlook] - 26 Jan 2006 19:42 GMT
The details are going to depend on the nature of the option button(s). Is it a set of buttons bound to one Outlook property? (What kind of property?) Then you may be able to handle just like a text field.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> How can I show the value of the option button in the Outlook form to appear
> as a text field in the Word doc?