Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default To Enable Macro in Excel.

Hi-

When we write a macro in excel and open the file there is popup box which
asks the user to select "Enable Macro" or "Disable Macro". If the user
selects disable macro then the macro becomes inactive. Is there any code to
enable the macro when the workbook is opened and its enabled automatically
without giving an option to the user for selecting (Enable or Disable Macro)
from the popup box.

Regards,
Murali. G
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default To Enable Macro in Excel.

This is based on the security level the user has selected. If the security
level is set to medium the confirmation message pops up..You can avoid this
confirmation message if you set the security level to low in
ToolsMacroSecurity. Changing this through VBA not easy for obvious
security reasons.

If this post helps click Yes
---------------
Jacob Skaria


"Murali G" wrote:

Hi-

When we write a macro in excel and open the file there is popup box which
asks the user to select "Enable Macro" or "Disable Macro". If the user
selects disable macro then the macro becomes inactive. Is there any code to
enable the macro when the workbook is opened and its enabled automatically
without giving an option to the user for selecting (Enable or Disable Macro)
from the popup box.

Regards,
Murali. G

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default To Enable Macro in Excel.

Alternatively, you can write your excel program as an excel add-in


On May 22, 8:52*pm, Murali G <Murali
wrote:
Hi-

When we write a macro in excel and open the file there is popup box which
asks the user to select "Enable Macro" or "Disable Macro". *If the user
selects disable macro then the macro becomes inactive. Is there any code to
enable the macro when the workbook is opened and its enabled automatically
without giving an option to the user for selecting (Enable or Disable Macro)
from the popup box. *

Regards,
Murali. G


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I enable macro use in excel 2007 Tith Excel Discussion (Misc queries) 2 May 11th 09 05:27 PM
Excel 2007 Enable Macro Prompt TheCornjerker Excel Discussion (Misc queries) 0 February 4th 08 04:59 PM
Help with Enable Macro Error Msg (Excel 2007) DW Excel Programming 10 March 14th 07 06:38 PM
Enable Word Template Macro from Excel L Smith Excel Programming 1 October 29th 05 09:15 AM
Excel Enable Macro message Worsty Excel Programming 3 March 4th 04 03:41 AM


All times are GMT +1. The time now is 08:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"