Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Word read/only, prevent save as, release variable
Message
From
02/08/2007 12:42:29
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01244081
Message ID:
01245538
Views:
33
>>I think if I want to disable most items in the Word file menu I will have to do it in the word file. Does that sound reasonable? Does any one know how to do it and is willing to post an example?
>
I posted the following to the "Microsoft Office Word" topic.
would like to know if the following is possible and if so how?

1. If the file is opened read/only (i.e. from Visual Foxpro 9) disable all items in the file menu except Page Setup for Printing, Print, and exit.

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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform