Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Word read/only, prevent save as, release variable
Message
De
02/08/2007 12:42:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01244081
Message ID:
01245538
Vues:
34
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform