Disable word "Save As" for a specific document

S

Sun

I was trying to disable the "save as" feature in a word document

and I wrote the code:

CommandBars("Menu Bar").Controls("File").Controls("Save As").Enabled = False

it works but the button stay disabled after I close the word and open it
again.

Is that anyway to disable the "Save As" button only for the specific
document which means didn't cross word session

P.S.

I will finally put this in my C++ application, which open the specific
document and i want user only save the existing document in my system instead
of save as.
 
G

Graham Mayor

But it won't stop someone who wants to save the document with a new name
from doing so. It will just get in the way of doing so for a short while.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top