How to stop users "adding an object"

  • Thread starter Thread starter andy b via OfficeKB.com
  • Start date Start date
A

andy b via OfficeKB.com

Hi
I need to stop users from adding a object in PP 2000 pro and office xp pro.
Anyone know the answer.
thanks
Andy
 
I need to stop users from adding a object in PP 2000 pro and office xp pro.
Anyone know the answer.

Can you install addins on each user's computer?
It'd be relatively simple to remove that item from the menu. A very clever
user could beat you at that game but most won't know how.
 
Reply for UTE.

You cannot ask 1200 kids to not try and find ways to hack your network when
thats what they are trying to do.

They are using insert object in office so that they can browse system32 etc.

Andy
 
Hi Steve
could you explain that, as im no office expert.
I'd like to remove the (insert, object) option if thats possible.
(throughout office)
Thanks
Andy
 
Andy b via said:
Hi Steve
could you explain that, as im no office expert.
I'd like to remove the (insert, object) option if thats possible.
(throughout office)

An addin written in VBA could remove pretty much any menu item you like.

There's info about writing PPT addins at http://www.pptfaq.com (see the VB
Programming section) and at Shyam's Addin FAQ, http://skp.mvps.org

This is the sort of code I had in mind:

Sub DeleteObjectMenu()

With Application.CommandBars("Menu Bar")
With .Controls("&Insert")
' You can hide it
.Controls("Object...").Visible = False
' set it back to true to make it visible again
' Or uncomment this to delete it
'.Controls("Object...").Delete
' resetting the toolbars will bring it back though
End With
End With

End Sub


Word and Excel addins are different; people on the various Office.Developer
groups or the Word, Excel groups can offer advice about that.

On the other hand, if the students are clever enough to work out how to browse
forbidden directories by inserting objects in PPT, they'd probably be clever
enough to disable any addins you install and reset the menus.

It might be better (and ever so much more satisfying) to catch one of the
miscreants and put 'em in the stocks. A touch of the cat, perhaps ... set an
example for the others. Ah, but the powers that be would probably frown on
that, wouldn't they? Tsk.
 

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

Back
Top