Modifying the MS Word File drop down

  • Thread starter Just a citizen . . .
  • Start date
J

Just a citizen . . .

Hi,

What type of skills would be required and what'd be the level of effort (two
days? two weeks? two months?) to modify the MS Word File dropdown (Word
2003 and 2007) so that some of the options in the file drop down are not
available? I want to disable options like Open, Save, and Save As.

Thanks!
 
D

Doug Robbins - Word MVP

Perhaps you can achieve what you are after by creating macros with the names
of the commands that you want to disable.

For example, if you create the following macro

Sub FileOpen()
'
' FileOpen Macro
' Opens an existing document or template. Not any more it doesn't.
'
MsgBox "This command has been disabled."

End Sub

The message "This command has been disabled." will be displayed when the
File>Open command is invoked.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
J

Just a citizen . . .

Thanks VERY much, Doug!

Follow up question - assuming that we create a macro that'll disable the
other options we want to inhibit (Save As, etc.), is there a way to push
that macro out to user machines so that it'll install the macro
automatically on user machines, and that users can't disable it?

Thanks, again!
 
J

Jay Freedman

It is technically possible to distribute the macros to user machines, either by
a mechanism such as Microsoft Systems Management Server or by putting a login
script on each machine to pull the template containing the macros; read
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm.

However, it is impossible -- by design -- to prevent users from disabling
macros. All that's necessary is to start Word in safe mode by holding down the
Ctrl key, or to run it from a command line with the /safe switch
(http://support.microsoft.com/kb/827706) or with the /a switch. Savvy users will
also know where to look to remove the macros permanently. I'm afraid you're very
much tilting at windmills here.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all
may benefit.
 
J

Just a citizen . . .

Thanks VERY much - I appreciate your assistance.

Jay Freedman said:
It is technically possible to distribute the macros to user machines,
either by
a mechanism such as Microsoft Systems Management Server or by putting a
login
script on each machine to pull the template containing the macros; read
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm.

However, it is impossible -- by design -- to prevent users from disabling
macros. All that's necessary is to start Word in safe mode by holding down
the
Ctrl key, or to run it from a command line with the /safe switch
(http://support.microsoft.com/kb/827706) or with the /a switch. Savvy
users will
also know where to look to remove the macros permanently. I'm afraid
you're very
much tilting at windmills here.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all
may benefit.
 

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