Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
This is the opposite of what is usually asked :-) Consider the following code:- Sub OpenWB() Workbooks.Open "H:\temp\has macros.xls" End Sub The workbook 'has macros.xls' contains code that causes the macro security warning to display if it is opened manually (assuming that Macro Security is set to Medium). If I run the code above the Security Warning is NOT displayed, but I want it to be.... I have written an add-in for Excel (see http://www.danielklann.com/excel/excel_favourites_add- in.htm if you're interested) that acts like an Internet Explorer favourites menu but for Excel. When opening files I would like the add-in to act as much like Excel as possible, including prompting the user if a file contains macros. Does anyone know how to do this? For information, I'm using Excel 2003 but the solution must work with 97 through 2003. Thanks, Daniel Klann |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Security Warning | Excel Discussion (Misc queries) | |||
Macro security warning | Excel Discussion (Misc queries) | |||
Fault macro security warning | Excel Discussion (Misc queries) | |||
Why am I getting 2nd macro security warning? | Excel Discussion (Misc queries) | |||
Macro/Security Warning | Excel Discussion (Misc queries) |