Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Remove Enable/Disable Macro message at startup

I hope someone can help.

I have an excel workbook that contains many hidden worksheets. There
is one unhidden worksheet, on which there are individual items listed.
Whenever a person choose an item, the will have to put in a password.
The password will determine
which worksheet is opened.

Problem: Whenever I try to open the workbook, the messagebox appear
asking if I want to enable/disable macros.

Solution foreseen: I want to use some code to enable the macro even
without the person seeing this messagebox. I also want to use some
code to disable the macro whenever the person close the workbook.

How to perform solution : ???

Can anyone assist me with this?

Thanks much.


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Remove Enable/Disable Macro message at startup

I want to use some code to enable the macro even without the person
seeing this messagebox

That's not possible. The point is to protect users from "malicious code".
If an evil doer could force his code to run there would not be any
protection.

--
Jim Rech
Excel MVP


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
Enable/Disable Macro Pop-Up juamig Excel Discussion (Misc queries) 5 April 12th 10 02:57 PM
disable 'enable macros' pop-up message on all computers Adam Excel Discussion (Misc queries) 5 April 19th 08 05:54 PM
Disable/Enable Macros Message box in Excel2007 Vignesh Excel Discussion (Misc queries) 0 February 6th 08 09:00 AM
Bypassing ENABLE/DISABLE MACROS message Excel4u Excel Discussion (Misc queries) 1 December 7th 05 04:05 PM
macro disable and enable. paul[_12_] Excel Programming 1 January 9th 04 01:29 PM


All times are GMT +1. The time now is 09:12 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"