WD: WordBasic Examples: TextFormField, CheckBoxFormField |
Q106332
This article contains a sample macro that demonstrates the use of the following WordBasic statements or functions:
TextFormField
CheckBoxFormField
This article supplements the information in online Help. To open this Help
topic in Word for Windows, click Contents on the Help menu and then
choose the "Programming with Microsoft Word" topic. In Word for the
Macintosh, click the Help icon, select Microsoft Word Help and choose the
"Programming with Microsoft Word" topic.
TextFormField
TextFormField
CheckBoxFormField
Example:
Sub MAIN
TableInsertTable .NumColumns = "2", .NumRows = "2", .Apply = "167"
TextFormField
FormFieldOptions .Enable = 1, .TextDefault = "Text Form Field", \
.Type = 0
NextCell
Insert "This box is checked "
CheckBoxFormField
FormFieldOptions .Enable = 1, .Type = 1, .CheckDefault = 1
End Sub
Additional query words:
Keywords : kbmacro kbprg kbdtacode kbmacroexample winword macword word6 word7 word95
Issue type : kbhowto kbinfo
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |