How to disable activex controls & code on saving a new workbook.XL2003
Are there any OLEObjects that you want to keep active?
Maybe you could use a variation of:
dim OLEObj as OLEObject
for each oleobj in worksheets("sheet999").oleobjects
oleobj.object.enabled = false
next oleobj
Guv wrote:
Thanks Dave, I have already done this, but I was hoping for one
procedure to disable all, as there are many controls etc.
Thanks, Guv.
--
Dave Peterson
|