PC Review


Reply
Thread Tools Rate Thread

Macro needed to set macro security in Excel to minimum

 
 
=?Utf-8?B?Q2FybA==?=
Guest
Posts: n/a
 
      18th Mar 2006
I have an Excel file that is started automatically by Task Scheduler. The
Excel file runs some macros upon opening. Sometimes the macro security level
in Excel is set at medium so the auto-open macro must wait for the user to
enable the macros before continuing. This defeats the whole purpose of the
project. Is there any way to have the auto-open macro set the macro security
to minimum first? (I doubt it because this would defeat the whole purpose of
macro security settings but had to ask). Thanks.
 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      18th Mar 2006
You can't do that I'm afraid Carl .... It rather defeats the purpose of
macro security :-)


 
Reply With Quote
 
 
 
 
Ed
Guest
Posts: n/a
 
      18th Mar 2006
>> Sometimes the macro security level in Excel is set at medium
I'm wondering what is changing the security level. If you've got a User
that's messing with settings, that's where you need to start.

One other possibility is to create a Visual Basic program that contains all
your macros (most macros will port directly into VB6 Classic with the
addition of objects set to the application and file). Then open the VB exe
with Scheduler and have that open the Excel file and do stuff.

Ed

"John" <(E-Mail Removed)> wrote in message
news:441bd980$0$8336$(E-Mail Removed)...
> You can't do that I'm afraid Carl .... It rather defeats the purpose of
> macro security :-)
>
>



 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      18th Mar 2006
You might want to looking into using Selfcert.exe to certify your workbook
(3rd link).

http://support.microsoft.com/default...;en-us;Q288985
XL2002: About Digital Signatures in Excel Workbooks


http://support.microsoft.com/?KBID=206637
OFF2000: Overview of Digital Certificates (Q206637)

http://support.microsoft.com/?KBID=217221
OFF2000: Using SelfCert to Create a Digital Certificate for VBA Projects
(Q217221)

An Overview:
http://msdn.microsoft.com/library/de...tml/combat.asp

Another reference:
http://msdn.microsoft.com/library/en...vbaproject.asp

should be applicable to xl2000 and later.

--
Regards,
Tom Ogilvy

"Carl" <(E-Mail Removed)> wrote in message
news:E37DEA1E-7FBC-4F52-BB07-(E-Mail Removed)...
> I have an Excel file that is started automatically by Task Scheduler. The
> Excel file runs some macros upon opening. Sometimes the macro security

level
> in Excel is set at medium so the auto-open macro must wait for the user to
> enable the macros before continuing. This defeats the whole purpose of the
> project. Is there any way to have the auto-open macro set the macro

security
> to minimum first? (I doubt it because this would defeat the whole purpose

of
> macro security settings but had to ask). Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to lookup the minimum, 2nd minimum and 3rd minimum......... Mark McDonough Microsoft Excel Worksheet Functions 8 15th Jul 2006 09:39 PM
Not able to KEEP Macro Security Level At Minimum =?Utf-8?B?Q2FybA==?= Microsoft Excel Misc 2 5th Mar 2006 09:17 AM
How do I set a minimum result value in an Excel formula? IE >100 =?Utf-8?B?c2FpcmFt?= Microsoft Excel Worksheet Functions 0 6th Jan 2006 06:11 AM
Security programs 2005 - , Firewall programs 2005 -, Antivirus programs 2005 -, APPDEV DOT NET SECURITY, Linux Security and Firewall programs 2005 -, CiscoWorks ( CW ) Security programs 2005 - , futa Microsoft Access Security 3 2nd Mar 2005 05:04 AM
Security programs 2005 - , Firewall programs 2005 -, Antivirus programs 2005 -, APPDEV DOT NET SECURITY, Linux Security and Firewall programs 2005 -, CiscoWorks ( CW ) Security programs 2005 - , futa Anti-Virus 0 25th Feb 2005 02:30 PM


Features
 

Advertising
 

Newsgroups
 


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