D
dziv
I have a complex "protected" Word form that contains data
in numerous bookmarked form fields. I am currently
retrieving and setting the data with the following code:
Retrieve:
Private Function GetStr(TempStr$) As String
GetStr = ActiveDocument.FormFields(TempStr$).Result
End Function
Set:
Private Sub SetBK(TempStr$, vVar As Variant)
ActiveDocument.FormFields(TempStr$).Result = vVar
End Sub
Does anyone know of a faster way to retrieve and set data
in form fields? It is excruciatingly slow!
I'd prefer not to retrieve data with the cell range, as
this complicates matters if someone needs to add/remove
rows from the table. Thanks.
in numerous bookmarked form fields. I am currently
retrieving and setting the data with the following code:
Retrieve:
Private Function GetStr(TempStr$) As String
GetStr = ActiveDocument.FormFields(TempStr$).Result
End Function
Set:
Private Sub SetBK(TempStr$, vVar As Variant)
ActiveDocument.FormFields(TempStr$).Result = vVar
End Sub
Does anyone know of a faster way to retrieve and set data
in form fields? It is excruciatingly slow!
I'd prefer not to retrieve data with the cell range, as
this complicates matters if someone needs to add/remove
rows from the table. Thanks.