Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
I am quite a noob in programing VBA so this question might seem really trivial to some of you, but unfortunalty it is not for me ;) I want to start a macro, after the user has accepted the default security message, excel is showing. Disabling this message is not possible, because the sheet has to work on "any" computer in the company. So, how is it possible to start a macro, right after the user has enabled them? Thanks in advance and sorry for my bad english. Great regards, fish |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Either place the code in ThisWorkbook as a Workbook_Open event Private Sub Workbook_Open() .... your code End Sub or in a regular modular with a name of Sub Auto_Open() .. your code End sub -- Regards Roger Govier "fish" wrote in message ... Hi there, I am quite a noob in programing VBA so this question might seem really trivial to some of you, but unfortunalty it is not for me ;) I want to start a macro, after the user has accepted the default security message, excel is showing. Disabling this message is not possible, because the sheet has to work on "any" computer in the company. So, how is it possible to start a macro, right after the user has enabled them? Thanks in advance and sorry for my bad english. Great regards, fish __________ Information from ESET Smart Security, version of virus signature database 4846 (20100208) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 4846 (20100208) __________ The message was checked by ESET Smart Security. http://www.eset.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Table Creation Macro fails with Error #5 "Invalid procedure call or argument" | Excel Programming | |||
"Toggle total row" button not enabled in Excel 2003 | Excel Discussion (Misc queries) | |||
Call a sub statement in "Personal Macro Workbook" from "ThisWorkbo | Excel Programming | |||
CommandBars("Worksheet Menu Bar").Controls("Tools").Enabled = Fals | Excel Programming | |||
Can ActiveX controls be "disabled" and "enabled"? | Excel Programming |