Charles
Tue Apr 12 08:10:08 CDT 2005
What you could do is put your real document content into an AutoText entry.
Then replace the content with a message that tells the user how to reset
security level and urging them to do so and to then enable the macros upon
reopening the document.
Have an AutoNew macro that replaces the message with your actual content.
Have an AutoOpen macro that runs the AutoNew macro.
Then distribute the template with instructions to put it in the user
templates folder or the workgroup templates folder. (These instructions
could also be a part of your disappearing instructions if you want.)
This is not secure and is far from idiot-proof but it may go a long way in
the direction you are trying to travel.
--
Charles Kenyon
Word New User FAQ & Web Directory:
http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
http://addbalance.com/usersguide
See also the MVP FAQ:
http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Bo_T" <tborgne@chu-grenoble.fr> wrote in message
news:757fec2a.0504120254.6232d611@posting.google.com...
> HI !
>
>
> I know it's not possible to check the security level with VBa when the
> doc is open by a user.
>
> ...but I want the user changes this security level and so ...I would
> like to avoid the user doing anything else in the opening doc
> excepted:
>
> - reading a message explaining the user must change the security level
> to the "middle" level if an above level is checked
> -checking the security level
> -closing the doc without saving it
>
>
> ..or anything else to get similar results ...
>
> ...until the security level is middle or under ...and so the doc will
> open normally at this time !
>
> Any help to try writting this?
>
>
> Thanks in advance!
>
>
> Thierry Borgne