Document Exit when insertin Captions

E

esther.held

I use two documents based on the same template.

I run a macro located on a button to insert captions
(e.g. Figure, Table, appendix). In the first document
this works fine.

I switch to the second document. As soon as a run the
macro, Word takes me back to the first document.

In addition if I continue to click my buttons to run the
captions macro, Word seems unresponsive to this action.
However when switching back to the second document, these
caption labels are all there, although the second
document was not displayed when the buttons were clicked.

It seems that Word cannot properly distinguish between
the actions in these two documents.
 
Top