Turn the Pages moved event into a document merge event
This handler runs on the Pages moved event and transforms it into a document merge event. If all pages of a document are moved, that document is fully embedded into the target document. TheEvents.OnDocumentsMerge procedure handles the document merge event.
VBScript
JScript
Merge registration parameters when documents merge
This handler merges document registration parameters on the document merge event. When documents merge into a target document, only the parameters that are missing from the target are added from the new documents. Store this code in a shared module and call theOnDocumentsMerge procedure when documents merge. For more information, see Turn the Pages moved event into a document merge event.
