C
C
We have a 3rd party app that uses Word as its report writer. I would like to
run additional code from within the template after the app is done and has
filled-in all bookmarks. If I put my code in an AutoNew procedure in the
template, it executes before the other app is done. I can force it to run
later by putting a delay in the AutoNew and calling the code from another sub
(Application.OnTime Now + TimeValue("00:00:05"), "NewProcedure", but I can't
always be sure how long the 3rd party app will require. Is there a way other
than a time value to control starting the code when the other app is
complete? Thanks very much!
run additional code from within the template after the app is done and has
filled-in all bookmarks. If I put my code in an AutoNew procedure in the
template, it executes before the other app is done. I can force it to run
later by putting a delay in the AutoNew and calling the code from another sub
(Application.OnTime Now + TimeValue("00:00:05"), "NewProcedure", but I can't
always be sure how long the 3rd party app will require. Is there a way other
than a time value to control starting the code when the other app is
complete? Thanks very much!