Hi PBers
I have searched on Google for a solution to this issue for a while now and I am turning to you for help.
I have a saved doc in Word with 'fields' (not 'bookmarks') in it. I did so by going to Insert>Quick Parts>Field...
I need to access said doc from PB to fill those fields.
I am able to:
- create an ole and connect it to word.application
- open the doc in the ole
However, I am not able to:
- 'goto' those fields (they all have a 'name' in the doc such as '«Firstname»')
- fill the fields with data/string...
(The reason why I don't use 'bokmarks' instead is because the original Word doc would get modified with the data/strings AND lose those bookmarks even after an SaveAS. So...)
Please advise.
Thank you
CJ
That is a great link but not all applies to PB. For instance, in PB OLE, FormFields.Count is recognized and functional. However, anything else with "FormFields" is invalid in PB (it treats that as an invalid external function call) even though all I have in my doc are 'fields.'
BUT, if I replace FormFields with Bookmarks in those calls, it works ( I am still figuring out how to make my Checkbox 'field' checked)