02-09-2010 07:19 PM
I have a write text.vi that finds bookmarks in a MS Word Doc and adds test results to word doc. It is replacing the bookmark with text. Any suggestions?
Thanks, Greg
02-09-2010 10:39 PM
02-10-2010 05:36 AM
The Reset Pin Feeds Write Text Vi. This principle was developed by previous employees who no longer work here. It is based on 6 or more programs. I added the bookmark to the ATP doc. I understand it might be an issue with MS Word Doc not the Vis.
02-10-2010 12:25 PM
Aside from the rest of the application, at any point are you using the Automation Open VI?
I could make your subVI work by itself by placing an Automation Open and also wiring the GoTo reference to the last property node in your VI.
02-10-2010 12:28 PM
02-10-2010 12:35 PM
The problem turned out to be a buried "Copy File" Command. Earlier in the code, it copied the Word File from location x to Pre_ATP.doc. The Source file was wrong so the bookmark was never there to begin with. What I observed was after the copy command. Thus the book mark looked like it was over written when it was not even there. I keep adding the bookmark to the PRE_ATP.doc which was copied over by the copy comannd.
Thanks
Greg