Word Before close and after close

Add-in Express™ Support Service
That's what is more important than anything else

Word Before close and after close
 
Guest


Guest


Hi there,

I need to have in my app a way of openning word and do some changes to the word document that i open and then let the user type in to that word document and when they click close to go back to my app and then let me do some more change via code in word?

How would I go about doing this??

thanks a lot

Donald
Posted 20 Dec, 2005 18:46:52 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Donald.

You can download an example using the following link:
http://www.add-in-express.com/projects/wordevents.zip
Posted 21 Dec, 2005 11:08:12 Top
Doanld


Guest


Hi Sergey,

The problem is that they are all Before and not after can you do a after close??

Donald
Posted 22 Dec, 2005 03:42:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Donald.

Try to use the DocumentChange event and check the Documents collection in Word. It occurs after the DocumentBeforeClose event has been fired.
Posted 22 Dec, 2005 07:17:04 Top