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.
 
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.
>
 
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.
> >

>
 
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
G To enable/disable Allow New Time proposals Outlook VBA and Custom Forms 1
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
H Macro to Delete Duplicate items in Outlook calendar where title is the same and date is the same Outlook VBA and Custom Forms 0
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
X Run macro automatically when a mail appears in the sent folder Using Outlook 5
mrrobski68 Issue with Find messages in a conversation macro Outlook VBA and Custom Forms 1
G Creating Macro to scrape emails from calendar invite body Outlook VBA and Custom Forms 6
M Use Macro to change account settings Outlook VBA and Custom Forms 0
J Macro to Reply to Emails w/ Template Outlook VBA and Custom Forms 3
C Outlook - Macro to block senders domain - Macro Fix Outlook VBA and Custom Forms 1
Witzker Outlook 2019 Macro to seach in all contact Folders for marked Email Adress Outlook VBA and Custom Forms 1
S macro error 4605 Outlook VBA and Custom Forms 0
A Macro Mail Alert Using Outlook 4
J Outlook 365 Outlook Macro to Sort emails by column "Received" to view the latest email received Outlook VBA and Custom Forms 0
J Macro to send email as alias Outlook VBA and Custom Forms 0
M Outlook Macro to save as Email with a file name format : Date_Timestamp_Sender initial_Email subject Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro to check Cursor & Focus position Outlook VBA and Custom Forms 8
V Macro to mark email with a Category Outlook VBA and Custom Forms 4
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
D Auto Remove [EXTERNAL] from subject - Issue with Macro Using Outlook 21
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

Similar threads

Back
Top