Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 361
Default Macro needed to set macro security in Excel to minimum

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Macro needed to set macro security in Excel to minimum

You can't do that I'm afraid Carl .... It rather defeats the purpose of
macro security :-)


  #3   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 399
Default Macro needed to set macro security in Excel to minimum

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" wrote in message
...
You can't do that I'm afraid Carl .... It rather defeats the purpose of
macro security :-)




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro needed to set macro security in Excel to minimum

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" wrote in message
...
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
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
Macro security in Excel 2007 jodleren Excel Discussion (Misc queries) 1 September 3rd 09 03:59 PM
Excel 2007 Macro Security Mary Fetsch Excel Discussion (Misc queries) 4 May 15th 08 02:10 PM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Not able to KEEP Macro Security Level At Minimum Carl Excel Discussion (Misc queries) 2 March 5th 06 08:17 AM
Excel XP XML macro security warning steve Excel Programming 2 February 6th 04 01:41 PM


All times are GMT +1. The time now is 05:48 AM.

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"