how to enable macro for addin

Status
Not open for further replies.
A

Ashish

If secuurity level is set to medium (under Tools->Macro->Security) and trust

all installed addins and template is uncheck. Then how to enable macro for

addin programatically. When i open outlook it asks me do u want to

enable/disable macro. If i disable then my addin will not work. To avoid the

message i need to set macro to enable. Please suggest.
 
K

Ken Slovak - [MVP - Outlook]

Change the security setting. Addin code can't change that or otherwise rogue

code could do it and defeat the security.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:emoNydEmKHA.1648@TK2MSFTNGP05.phx.gbl...
> If secuurity level is set to medium (under Tools->Macro->Security) and
> trust all installed addins and template is uncheck. Then how to enable
> macro for addin programatically. When i open outlook it asks me do u want
> to enable/disable macro. If i disable then my addin will not work. To
> avoid the message i need to set macro to enable. Please suggest.
>
 
A

Ashish

can i change security setting programatically?

if i change security in outlook and open outlook again then it gives warning

for my add (do u want to enable/disable macro)

how to avoid that message and enable macro
<kenslovak@mvps.org> wrote in message

news:u2dvR4EmKHA.4148@TK2MSFTNGP05.phx.gbl...
> Change the security setting. Addin code can't change that or otherwise
> rogue code could do it and defeat the security.

> >

>

> "Ashish" <akohli_2004@hotmail.com> wrote in message
> news:emoNydEmKHA.1648@TK2MSFTNGP05.phx.gbl...
> > If secuurity level is set to medium (under Tools->Macro->Security) and
> > trust all installed addins and template is uncheck. Then how to enable
> > macro for addin programatically. When i open outlook it asks me do u want
> > to enable/disable macro. If i disable then my addin will not work. To
> > avoid the message i need to set macro to enable. Please suggest.
> >

>
 
K

Ken Slovak - [MVP - Outlook]

I just said you can't change the settings in code in your addin.

You need to change the settings before trying to load your addin, and if

necessary put together instructions on what settings are needed by your

users.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:%23gZ1YQOmKHA.5728@TK2MSFTNGP06.phx.gbl...
> can i change security setting programatically?
> if i change security in outlook and open outlook again then it gives
> warning for my add (do u want to enable/disable macro)
> how to avoid that message and enable macro
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
K Macro won't consistently re-enable Outlook VBA and Custom Forms 2
J OL2003 Macro disables itself - looking for way to automate 'enable' Using Outlook 2
K How do I eliminate the "Enable Macro" selection? Outlook VBA and Custom Forms 16
C Eliminate need for "Enable Macro" selection Outlook VBA and Custom Forms 7
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
Peter H Williams Enable script containing VBA Outlook VBA and Custom Forms 12
A How to enable outlook room finder (outlook connector (mapi)) user ? Using Outlook 3
Diane Poremsky Mail-enable Exchange Public Folders Using Outlook 0
soadfan Enable all rules from toolbar button? Outlook VBA and Custom Forms 3
R Enable Office 365 Exchange Online Archive Using Outlook 0
R Enable Office 365 Exchange Online Archive Using Outlook 6
G VBA code to enable a rule based on time of day for a IMAP mail account Outlook VBA and Custom Forms 14
Sarge USMC how do I enable hyperlinks in Outlook 2013 Using Outlook 1
A how to install or enable categories in OL 2013 for calendar and contacts Using Outlook 5
D How do I mail-enable a Public Folder Sub-folder in exchnage 2007 using shell ? Exchange Server Administration 0
H enable textboxes and buttons from received email Using Outlook 1
D How To Enable Undo in Outlook 2007 Tasks Using Outlook 2
S Outlook 2010: How do you enable Contacts' Activities to search archive folders Using Outlook 6
J Re-enable the junk mail notification. Using Outlook 6
C How do I enable a link in an e-mail in Outlook 2007? Using Outlook 4
J Enable Sonicwall Outlook VBA and Custom Forms 1
S How do I enable administrator access in Business Contact Manager? BCM (Business Contact Manager) 1
S How to enable scripts to run in a custom form which is forwarded ? Outlook VBA and Custom Forms 1
J Office Ultimate- My outlook doesn't have BCM, how do I enable? BCM (Business Contact Manager) 1
M Outlook 2019 Macro not working Outlook VBA and Custom Forms 0
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 1
Geldner Send / Receive a particular group via macro or single keypress Using Outlook 1
D Auto Remove [EXTERNAL] from subject - Issue with Macro Using Outlook 17
V Macro to count flagged messages? Using Outlook 2
sophievldn Looking for a macro that moves completed items from subfolders to other subfolder Outlook VBA and Custom Forms 7
S Outlook Macro for [Date][Subject] Using Outlook 1
E Outlook - Macro - send list of Tasks which are not finished Outlook VBA and Custom Forms 3
E Macro to block senders domain Outlook VBA and Custom Forms 1
D VBA Macro to Print and Save email to network location Outlook VBA and Custom Forms 1
N VBA Macro To Save Emails Outlook VBA and Custom Forms 1
N Line to move origEmail to subfolder within a reply macro Outlook VBA and Custom Forms 0
witzker Outlook 2019 Macro to answer a mail with attachments Outlook VBA and Custom Forms 2
A Outlook 2016 Macro to Reply, ReplyAll, or Forward(but with composing new email) Outlook VBA and Custom Forms 0
J Macro to Insert a Calendar Outlook VBA and Custom Forms 8
W Macro to Filter Based on Latest Email Outlook VBA and Custom Forms 6
T Macro to move reply and original message to folder Outlook VBA and Custom Forms 6
D Autosort macro for items in a view Outlook VBA and Custom Forms 2
S HTML to Plain Text Macro - Help Outlook VBA and Custom Forms 1
A Macro to file emails into subfolder based on subject line Outlook VBA and Custom Forms 1
N Help creating a VBA macro with conditional formatting to change the font color of all external emails to red Outlook VBA and Custom Forms 5
S Visual indicator of a certain property or to show a macro toggle Outlook VBA and Custom Forms 2
L Modifying VBA script to delay running macro Outlook VBA and Custom Forms 3
S Macro to extract and modify links from emails Outlook VBA and Custom Forms 3
M Replyall macro with template and auto insert receptens Outlook VBA and Custom Forms 1
L Macro to add Date & Time etc to "drag to save" e-mails Outlook VBA and Custom Forms 17

Similar threads

Top