Macro cannot be disabled nor signed.

P

PeteM

Following Error message.

"This workbook contains a type of macro (Microsoft Excel version 4.0
macro) that cannot be disabled nor signed. Therefore, this workbook
cannot be opened under High Security Level."

Why is this happening....and what is the solution.
 
R

Robin Hammond

Pete,

You have an Excel 4 macro in the workbook. It's a completely different
language to VBA.
The Excel help system has this to say: "You may be trying to open a workbook
that contains a type of macro that cannot be disabled. Excel has two types
of macros: those written in Visual Basic for Applications (VBA) and those
written in Excel version 4.0 macro language (XLM macros). Only macros
written in VBA can be disabled. When you open a workbook that contains XLM
macros, the Auto_Open macro can be disabled, but other XLM macros still run.
It is recommended that you make sure that the source of the workbook is
reliable before you open the workbook."

Set security to medium (Tools, Options, Security, Macro Security), if you
trust the originator of the file. Try opening it. Unhide any sheets that are
not visible, and look for the offending macro in the sheets.

Robin Hammond
www.enhanceddatasystems.com
 
D

dominicb

Good morning PeteM

Fom Excel 97 onwards, the macro language of choice within XL is VBA,
however before XL97 you had to use XML (eXcel Macro Language). XML is
nowhere near as powerful as VBA but it did the trick. The workbook you
are trying to open has an XML macro that has probably been written using
Excel 95 or below. Your version of XL will still run this macro - if
you trust it - but it cannot be disabled. At present you have high
security invoked on your machine and must lower it to open the
workbook. Use Tools > Macro > Security and set it to medium. This
always gives you the option whether to run the VBA macros but you must
allow XML macros to run.

HTH

Dominic
 

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