Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Word read/only, prevent save as, release variable
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01244081
Message ID:
01245545
Views:
33
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform