Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default When workbook is reopened, macros are disabled

Sounds like you security is set to High in Tools=Macro=Security
'
Set it to medium.

Generally you don't call a workbook_open event. You define the event in the
ThisWorkbook Module of the workbook and the action of opening the workbook
causes it to fire.

http://www.cpearson.com/excel/events.htm
Chip Pearson's page on event.s

--
Regards,
Tom Ogilvy

"Marjie" wrote in message
...
I have just created a macro in an excel workbook. I recorded the macro,

named
it, was able to edit it and run it. However, when I close the workbook

and
then open it again, my macro has become disabled. I get an error message
which says:
The macros in this project are disabled. Please refer to the online help

of
the host application to determine how to enable macros. I am concerned

that
I caused a problem as I was trying to create an open event macro. I

created
a macro that I called Workbook_Open. Would this be why I am having

problems.
I started over with a new workbook, but I'm getting the same problems.



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
Hidden Tabs keep appearing once workbook is reopened. Brenda Excel Discussion (Misc queries) 4 November 8th 08 03:42 AM
Macros are disabled cgore Excel Discussion (Misc queries) 1 February 17th 06 05:33 PM
Workbook opened with macros disabled Alan.Hutchins Excel Programming 1 July 28th 04 09:44 AM
Excel crashes when attempting to open workbook...even with macros disabled llowwelll[_10_] Excel Programming 1 May 24th 04 09:38 PM
disabled macros Martin Wheeler Excel Programming 2 September 6th 03 03:20 AM


All times are GMT +1. The time now is 06:54 PM.

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

About Us

"It's about Microsoft Excel"