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.