PC Review


Reply
Thread Tools Rate Thread

Disable Macro Alert

 
 
doodles82a@yahoo.com
Guest
Posts: n/a
 
      2nd Sep 2011
I have VBA Code attached to Workbook A. My VBA Code opens Workbook B
in order to extract certain information. Then, my code closes Workbook
B without saving any changes that might have occurred to Workbook B.

Workbook B includes macros. Because my security is set on Medium, I
get the Enable/Disable macro message.

In the same manner in which I can disable the UpdateLinks message, and
without changing my macro security setting, is there a line of code I
can use in Excel 2003 to disable the Enable/Disable macro message?

Thank you.

 
Reply With Quote
 
 
 
 
GS
Guest
Posts: n/a
 
      2nd Sep 2011
(E-Mail Removed) wrote :
> I have VBA Code attached to Workbook A. My VBA Code opens Workbook B
> in order to extract certain information. Then, my code closes Workbook
> B without saving any changes that might have occurred to Workbook B.
>
> Workbook B includes macros. Because my security is set on Medium, I
> get the Enable/Disable macro message.


This doesn't -USUALLY- happen with 'automated' opening of workbooks
with macros, regardless of macro security level! (Macros in the opened
workbook are automatically enabled)

> In the same manner in which I can disable the UpdateLinks message, and
> without changing my macro security setting, is there a line of code I
> can use in Excel 2003 to disable the Enable/Disable macro message?
>
> Thank you.


--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
Gord
Guest
Posts: n/a
 
      2nd Sep 2011
You cannot use code to disable the macro warning...........would
defeat the use of security measures<g>

Try creating a digital certificate and sign the book with that.

Use the SelfCert tool from Office Tools.

Sign your workbook B project with that signature..............good
only on your computer...........you can't export the signature key.


Gord Dibben Microsoft Excel MVP


On Fri, 2 Sep 2011 06:07:43 -0700 (PDT), "(E-Mail Removed)"
<(E-Mail Removed)> wrote:

>I have VBA Code attached to Workbook A. My VBA Code opens Workbook B
>in order to extract certain information. Then, my code closes Workbook
>B without saving any changes that might have occurred to Workbook B.
>
>Workbook B includes macros. Because my security is set on Medium, I
>get the Enable/Disable macro message.
>
>In the same manner in which I can disable the UpdateLinks message, and
>without changing my macro security setting, is there a line of code I
>can use in Excel 2003 to disable the Enable/Disable macro message?
>
>Thank you.

 
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
Re: How to Create Sound Alert and Email Alert when Macro is Finish Tom Ogilvy Microsoft Excel Programming 0 30th Nov 2006 11:12 PM
Re: How to Create Sound Alert and Email Alert when Macro is Finish Bob Phillips Microsoft Excel Programming 0 30th Nov 2006 09:21 PM
Re: How to Create Sound Alert and Email Alert when Macro is Finished Bob Davison Microsoft Excel Programming 0 30th Nov 2006 08:14 PM
disable alert pop-ups =?Utf-8?B?c21rMjM=?= Microsoft Access VBA Modules 1 21st Sep 2006 09:11 PM
Can you disable the macro security alert? =?Utf-8?B?RWxjZWxsZXIgaW4gZGlzdHJlc3M=?= Microsoft Excel Programming 4 1st Aug 2006 10:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:45 AM.