Word Header Macro Problem

Joined
Aug 26, 2012
Messages
1
Reaction score
0
I have created a header macro that checks to see if a bookmark exists before replacing the contents with a graphic and to do nothing if it does. It does what it's supposed to do when I create a new document, but fails when I run the client's macro (which is protected) to update the document. It's almost as if its still stuck somewhere in that routine.

I'm not getting a runtime error when run the update, but the cursor never appears back in the document. I have to choose Print Preview or open the header to see the graphic.

Here's the question: Is there any code that I can add to my own once I close the header to finish the routine or refresh the page and bring the focus back to the current document?

I've tried adding a Print Preview command or a go to bookmark command to my own code. It works, but I still can't see the header until I manually Preview the document or open the header.

I've inherited this project, so any suggestions would be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top