You are using GetObject which means Word must already be running. If it isn't then you need to use CreateObject.
Assuming that works, then Agendaku.docm must already be open. If it isn't then that will fail too.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|