Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Template macro after third party application fills document

Status
Not open for further replies.

wordperfectconvert

Technical User
Feb 16, 2005
18
US
I have a third party application that we use to create documents such as letters. The application fills the template with the use of bookmarks. I have some standard bookmarks set up in a table, but occasionally we will not have the information in our third party database, so the bookmark will stay on our document unfilled. An example is that in the RE: part of a letter, we have a bookmark for "acctno". However, some files just don't use account numbers, so the data is empty. I created a macro that searches for the empty date and then deletes the row from the table. It works okay, but is running before the third party application fills the document. How can I either delay my AutoNew macro or run the macro after the third party application has filled the document with the bookmark data. Thanks in advance for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top