jthomp1
12-13-2011, 01:21 PM
I'm trying to add a Form Field with the following properties:
Form Field Type: TextInput
TextFormFieldType: wdNumberText
Number Format: $#,##0
Name: fld_Est_Receipts
Here's my code so far:
Selection.FormFields.Add Range:=Selection.Range, _
Type:=wdFieldFormTextInput, _
TextFormFieldType:=wdNumberText, _
Format:="$#,##0", _
Name:="fld_Est_Receipts"
Problem:
Getting Compile Error:
Named argument not found
at the TestFormFieldType:=
Question:
How do I properly set the number type, number format and name properties?
Form Field Type: TextInput
TextFormFieldType: wdNumberText
Number Format: $#,##0
Name: fld_Est_Receipts
Here's my code so far:
Selection.FormFields.Add Range:=Selection.Range, _
Type:=wdFieldFormTextInput, _
TextFormFieldType:=wdNumberText, _
Format:="$#,##0", _
Name:="fld_Est_Receipts"
Problem:
Getting Compile Error:
Named argument not found
at the TestFormFieldType:=
Question:
How do I properly set the number type, number format and name properties?