Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Security and Macro Enable help


I have writen a small program that opens a form when a excel file i
opened. I had a problem the other day where the Security was set suc
that the macros would not work and the form didn't open.

Is there a way to make certain the the macros will always work so tha
my form will always open?

Also excel is always asking if I want to enable macros, is there
command that will automatically enable macros on opeing an excel file.
This is so that the user doesn't get confused.

Thank

--
jimbo_jone
-----------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...fo&userid=2724
View this thread: http://www.excelforum.com/showthread.php?threadid=47175

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Security and Macro Enable help

Jimbo,
You can change the security setting for macros in Excel. Go to Tools
Macros Security... and change the setting to Low.
You will have to close Excel and re-open it for the setting take effect.
--
Ken Hudson


"jimbo_jones" wrote:


I have writen a small program that opens a form when a excel file is
opened. I had a problem the other day where the Security was set such
that the macros would not work and the form didn't open.

Is there a way to make certain the the macros will always work so that
my form will always open?

Also excel is always asking if I want to enable macros, is there a
command that will automatically enable macros on opeing an excel file.
This is so that the user doesn't get confused.

Thanks


--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=471756


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Security and Macro Enable help


Is there a way to ensure this? For instance if someone else opens Exce
and changes the security, then the macros wouldn't work again, correct

--
jimbo_jone
-----------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...fo&userid=2724
View this thread: http://www.excelforum.com/showthread.php?threadid=47175

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Security and Macro Enable help

Security level settings only affect the user who sets them. They don't get kept
with the workbook.

jimbo_jones wrote:

Is there a way to ensure this? For instance if someone else opens Excel
and changes the security, then the macros wouldn't work again, correct?

--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=471756


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Security and Macro Enable help

The security change must be done on each machine using the macro. It doesn't
change the macro itself. When I put out a macro to a large group, I also tell
them how to change the security setting. Often it is set to "High" and users
don't even know that a macro is attached to a workbook.
--
Ken Hudson


"jimbo_jones" wrote:


Is there a way to ensure this? For instance if someone else opens Excel
and changes the security, then the macros wouldn't work again, correct?


--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=471756




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Security and Macro Enable help

Best way to ensure your code runs is to sign it with a code signing
certificate
from either verisgn or thawte.
If uses setting is high or very high security then it still may not work
If you totally want to avoid this issue write your code in .net and set
appropriate security in that
cheers
Simon

"jimbo_jones"
wrote in message
...

Is there a way to ensure this? For instance if someone else opens Excel
and changes the security, then the macros wouldn't work again, correct?


--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile:
http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=471756



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
how to get around the Enable Macro security message? cfman Excel Discussion (Misc queries) 5 March 4th 07 03:59 PM
Enable macro Pam Coleman Excel Discussion (Misc queries) 3 October 21st 05 08:40 PM
Macro Start Autorun without Enable security Jack Excel Programming 9 February 2nd 05 02:59 PM
Enable Macro PW11111 Excel Discussion (Misc queries) 2 December 14th 04 01:09 PM
How to enable macro Peter Excel Programming 3 April 11th 04 04:27 PM


All times are GMT +1. The time now is 09:54 AM.

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"