Information générale
Catégorie:
COM/DCOM et OLE Automation
>I think I'm not explaining myself very well. The above code works just as you say it will enabling me to change the data source once the file is open, however the problem that I think I'm actually trying to solve is slightly different.
>
>If you have a Word Main document linked to a data source and you try to open it when the data source no longer exists then I don't seem to be able to prevent the Open data source dialog from appearing.
>
>Is this just something I've not set in word and does work on other peoples machines?
>
Cetin's suggestion of a template should work. But setting DisplayAlerts to .F. before opening the document should, too. I've used the technique. I don't know why it's not working for you.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement