Hi. I am building a macro that needs to watch for a change in the document status like adding or deleting a page. Any help out there?
Example:
when page is added or deleted-
look for object label "toasty"
carry out a function like add total page number
Here's an example from Alex Vakulenko on his Oberon Place forums.
He shows PageActivate and ShapeMove as examples. You can see the list of available events in the API documentation: Document class. Or, pick them out of the list in the VBA editor:
thank you Eskimo. i will try this.