ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Turn Off Macro Warning (https://www.excelbanter.com/excel-programming/304792-turn-off-macro-warning.html)

Tiziano

Turn Off Macro Warning
 
I wrote a small macro for a worksheet. Every time I load the
workbook into memory --there is only one worksheet in it-- a
window pops up asking me whether or not I want to run the macro.
Is it possible to turn off the macro warning window for a specific
workbook (or worksheet) with some VBA line of code? How?
----
Tiziano



keepITcool

Turn Off Macro Warning
 

Nope. It depends on the Macro Security Level the user has set.
Ofcourse this cannot be set with code..
it would defeat it's purpose wouldn't it..



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Tiziano wrote :

I wrote a small macro for a worksheet. Every time I load the
workbook into memory --there is only one worksheet in it-- a
window pops up asking me whether or not I want to run the macro.
Is it possible to turn off the macro warning window for a specific
workbook (or worksheet) with some VBA line of code? How?
----
Tiziano



Elmer Smurdley[_3_]

Turn Off Macro Warning
 
In Excel 2000, goto "Tools", "Macros", "Security" and set
to "Low".

In Excel XP Pro, goto "Tolls", "Options", "Security".


-----Original Message-----
I wrote a small macro for a worksheet. Every time I

load the
workbook into memory --there is only one worksheet in it-

- a
window pops up asking me whether or not I want to run

the macro.
Is it possible to turn off the macro warning window for

a specific
workbook (or worksheet) with some VBA line of code? How?
----
Tiziano


.


Amedee Van Gasse[_3_]

Turn Off Macro Warning
 
keepITcool wrote:


Nope. It depends on the Macro Security Level the user has set.
Ofcourse this cannot be set with code..
it would defeat it's purpose wouldn't it..


Get a digital signature.
You could use something expensive like from Verisign, or if it's just
for personal use, locate selfcert.exe on the Office installation cd and
search the Excel help for more info. It's in there, really!

--
To top-post is human, to bottom-post and snip is sublime.


All times are GMT +1. The time now is 01:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com