Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default error "The macros in this project are disabled"

I can create small VBA/Excel macros and functions and run them just fine.
But when I insert a large function ("xxx"), put "=xxx()" into a cell,
and click F9, VBA complains that "The macros in this project are disabled."

This never used to happen; But I recently had my IBM thinkpad T23 replaced
and my files restored onto the new HD.

The help message suggests that this is because the .wks was opened "with
macros disabled", and suggests that I close it, then reopen it "with macros
enabled".

How do I do that? And is that really the problem?

How do I get around this problem?

I'm running Excel 2000 on Windows 2000, version 5.0, service pack 4.

Thanks in advance for your help!



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default error "The macros in this project are disabled"

If security is set to high, macros are disabled without prompt.

--
Regards,
Tom Ogilvy


"300bps" wrote in message
...
I can create small VBA/Excel macros and functions and run them just fine.
But when I insert a large function ("xxx"), put "=xxx()" into a cell,
and click F9, VBA complains that "The macros in this project are

disabled."

This never used to happen; But I recently had my IBM thinkpad T23 replaced
and my files restored onto the new HD.

The help message suggests that this is because the .wks was opened "with
macros disabled", and suggests that I close it, then reopen it "with

macros
enabled".

How do I do that? And is that really the problem?

How do I get around this problem?

I'm running Excel 2000 on Windows 2000, version 5.0, service pack 4.

Thanks in advance for your help!





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default error "The macros in this project are disabled"

Tools|macro|macro security|security level tab

But after you change it, you have to close and reopen the workbook.



300bps wrote:

I can create small VBA/Excel macros and functions and run them just fine.
But when I insert a large function ("xxx"), put "=xxx()" into a cell,
and click F9, VBA complains that "The macros in this project are disabled."

This never used to happen; But I recently had my IBM thinkpad T23 replaced
and my files restored onto the new HD.

The help message suggests that this is because the .wks was opened "with
macros disabled", and suggests that I close it, then reopen it "with macros
enabled".

How do I do that? And is that really the problem?

How do I get around this problem?

I'm running Excel 2000 on Windows 2000, version 5.0, service pack 4.

Thanks in advance for your help!


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
GB GB is offline
external usenet poster
 
Posts: 230
Default error "The macros in this project are disabled"

There are some caveats to all of this... With security set to high, you will
get prompted to run macros if the code has been digitally signed. If it is
not digitally signed, then macros will automatically be disabled with
security set to high. If it is digitally signed, opened, and the digital
signer's code is accepted, then every time that a program is open that is
digitally signed by that individual, it will automatically open without
prompting and run the macros.

With security set to medium, you will be prompted each and every time if you
wish to run the macros or not.

With security set to low, there will be no prompt and all macro code will run.

Now, here's the big caveat. Something that I have run across. If you have
Office 2000 installed, include Visio 2000. If you install Visio 2003 without
uninstalling Visio 2000, then macros will not run in Excel 2000 with security
settings at medium or high. I do not know if this is because of the way it
was installed or the package that was installed, but it is something that I
have run across. I have not seen a case where Visio 2003 was initially
installed after Visio 2000 was removed. So I don't know if there was some
sort of conflict in the 2000 vs. 2003 installation, if 2003 visio is not
compatible with office 2000 or if the way that this particular package of
visio 2003 was installed was at fault. People are still investigating.

The words provided by the others here should get you into a functional
working mode at least on your computer. If you go to a different computer
you may end up having to duplicate your efforts.


"Dave Peterson" wrote:

Tools|macro|macro security|security level tab

But after you change it, you have to close and reopen the workbook.



300bps wrote:

I can create small VBA/Excel macros and functions and run them just fine.
But when I insert a large function ("xxx"), put "=xxx()" into a cell,
and click F9, VBA complains that "The macros in this project are disabled."

This never used to happen; But I recently had my IBM thinkpad T23 replaced
and my files restored onto the new HD.

The help message suggests that this is because the .wks was opened "with
macros disabled", and suggests that I close it, then reopen it "with macros
enabled".

How do I do that? And is that really the problem?

How do I get around this problem?

I'm running Excel 2000 on Windows 2000, version 5.0, service pack 4.

Thanks in advance for your help!


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"excel "macros may be disabled" message using an xlam file frustrated Excel Worksheet Functions 2 July 13th 09 08:32 PM
"Data Connections have been disabled" If no macros, Why? [email protected] Excel Discussion (Misc queries) 1 October 13th 07 01:26 AM
Excell error "Can't find Project or Library" Project VBAProject Lost in Excel Excel Worksheet Functions 0 April 12th 07 04:42 PM
"Compile Error Can't find project or library." mike allen[_2_] Excel Programming 3 August 10th 05 04:39 PM
Trim: Excel 97 gives error "Can't find project or library" Jim Mooney Excel Programming 10 August 30th 04 08:22 PM


All times are GMT +1. The time now is 01:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"