AutoOpen macro

D

Dorian

I need to perform a check when a document is opened and prevent certain named
documents from being edited, is this possible?
I have a naming convention where previous versions contain the date and time
and I need to prevent any but the most recent document from being edited.
Has anyone done this?
Thanks.
 
S

Stefan Blom

While what you are asking may be possible (ask in a VBA forum such as
microsoft.public.word.vba.general), it would probably be safer to password
protect the document.
 
S

Stefan Blom

Sorry, the question has been asked in a VBA forum. :-(

--
Stefan Blom
Microsoft Word MVP



Stefan Blom said:
While what you are asking may be possible (ask in a VBA forum such as
microsoft.public.word.vba.general), it would probably be safer to password
protect the document.
 
C

Cindy M.

Hi Dorian,
I need to perform a check when a document is opened and prevent certain named
documents from being edited, is this possible?
I have a naming convention where previous versions contain the date and time
and I need to prevent any but the most recent document from being edited.
Yes, it's probably possible. You could apply some kind of document protection,
such as Forms protection, if the document's file name meets the criteria. That
would let the user look at the document, but not edit it. You might also want to
monitor the documents closing if you feel a need to remove the protection.

If you need more specific help with this, please mention the version of Word
involved and give more details about how you imagine implementing this on user's
machines. You should also describe your programming background and the network
administration in your company (whether group policies are used, for example).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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