N
Nick Calladine
Can some one provide me the best syntax or method to read a single formfield
which is in a cell of a table
Each cell of the formfield is either a textinput field or dropdownbox.
I used the following code to step through each cell which i wish to read for
validation purposed
For ColumnNumber = 1 To 5
'Select Cell
ActiveDocument.Tables(1).Cell(RowNumber + 1, ColumnNumber).Range.Select
'Select Data In Cell
Selection.MoveLeft unit:=wdCharacter, Count:=1
<read / test data here>
Next ColumnNumber
Is this a bad way to do it.. i am better reading the cells data and then
figuring it out if its a form field and then act upon the type.
The formfields are not bookmaked as the user can addiontal rows to the
table.. is just a way of getting input and protecting the form.
Many thanks
Yours stupidly
which is in a cell of a table
Each cell of the formfield is either a textinput field or dropdownbox.
I used the following code to step through each cell which i wish to read for
validation purposed
For ColumnNumber = 1 To 5
'Select Cell
ActiveDocument.Tables(1).Cell(RowNumber + 1, ColumnNumber).Range.Select
'Select Data In Cell
Selection.MoveLeft unit:=wdCharacter, Count:=1
<read / test data here>
Next ColumnNumber
Is this a bad way to do it.. i am better reading the cells data and then
figuring it out if its a form field and then act upon the type.
The formfields are not bookmaked as the user can addiontal rows to the
table.. is just a way of getting input and protecting the form.
Many thanks
Yours stupidly