Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Word read/only, prevent save as, release variable
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01244081
Message ID:
01245545
Vues:
34
>>2. Only allow specific users to be able to modify the file and save it (based on user login id)?
>>
>>I think I will have to create an Autoopen macro in VBA for word. Unfortunately I do not know the commands I need. I do know how to password protect the VBA file.
>
>I saw your thread there. For both of your questions would my idea of using special Normal.dot files work? In other words, you may keep a directory with user specific Normal.dot files, copy them to word (need to figure out where Words has them) before opening your file and then copy the regular Normal.dot back?
>
>That's my idea, see, if you like it and think it's workable for your scenario.
>
>It may not work at all.

Or do you want to somehow hook to the Close button's code inside Word itself? It may be doable, needs a thorough google research.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform