PC Review


Reply
Thread Tools Rate Thread

Disabled macros

 
 
Curt
Guest
Posts: n/a
 
      17th Dec 2008
After all this time I have a program that does fine on my comp. When I put it
on another it says go to online help for macros enable. On my comp when I
open it asks to enable. Is there any code that I can put into excel to have
it enable when opening or to display screen that allows enable. Have become
aware of security settings. Assumeing they are high on foreign comp.
Thanks for any assistance.
 
Reply With Quote
 
 
 
 
Shasur
Guest
Posts: n/a
 
      17th Dec 2008
Hi

Can you check if Application.AutomationSecurity helps you

Sub Security()
Dim secAutomation As MsoAutomationSecurity

secAutomation = Application.AutomationSecurity

Application.AutomationSecurity = msoAutomationSecurityByUI
Workbooks.Open (sFileName)

Application.AutomationSecurity = secAutomation

End Sub

Cheers
Shasur
--
http://vbadud.blogspot.com


"Curt" wrote:

> After all this time I have a program that does fine on my comp. When I put it
> on another it says go to online help for macros enable. On my comp when I
> open it asks to enable. Is there any code that I can put into excel to have
> it enable when opening or to display screen that allows enable. Have become
> aware of security settings. Assumeing they are high on foreign comp.
> Thanks for any assistance.

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      17th Dec 2008
You cannot force a system with "high security settings" to run your code.
Think about it. First, how would that code run if the security settings stop
code from running? Second, if you were able to do that, it would defeat the
purpose of having security settings in the first place. If your user is to
be able to run your macros, they will have to adjust their Excel settings to
either permit macros to run directly (not advisable) or to prompt them if it
is alright to run macros (better).

--
Rick (MVP - Excel)


"Curt" <(E-Mail Removed)> wrote in message
news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
> After all this time I have a program that does fine on my comp. When I put
> it
> on another it says go to online help for macros enable. On my comp when I
> open it asks to enable. Is there any code that I can put into excel to
> have
> it enable when opening or to display screen that allows enable. Have
> become
> aware of security settings. Assumeing they are high on foreign comp.
> Thanks for any assistance.


 
Reply With Quote
 
Curt
Guest
Posts: n/a
 
      17th Dec 2008
My problem is getting to the promp screen to allow macros to run. Does
security need to be reset to allow this screen to apear in excel? If so then
I will create a doc to explain how to do it. Novices as we are we are getting
there.
Thanks for assistance

"Rick Rothstein" wrote:

> You cannot force a system with "high security settings" to run your code.
> Think about it. First, how would that code run if the security settings stop
> code from running? Second, if you were able to do that, it would defeat the
> purpose of having security settings in the first place. If your user is to
> be able to run your macros, they will have to adjust their Excel settings to
> either permit macros to run directly (not advisable) or to prompt them if it
> is alright to run macros (better).
>
> --
> Rick (MVP - Excel)
>
>
> "Curt" <(E-Mail Removed)> wrote in message
> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
> > After all this time I have a program that does fine on my comp. When I put
> > it
> > on another it says go to online help for macros enable. On my comp when I
> > open it asks to enable. Is there any code that I can put into excel to
> > have
> > it enable when opening or to display screen that allows enable. Have
> > become
> > aware of security settings. Assumeing they are high on foreign comp.
> > Thanks for any assistance.

>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      17th Dec 2008
If security is set at high or very high the user will not get the prompt and
macros will be diabled.

Security set to medium prior to the workbook being opened will raise the
prompt.

If the workbook is signed and trusted, no prompt will appear but macros will
be enabled.


Gord Dibben MS Excel MVP

On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
wrote:

>My problem is getting to the promp screen to allow macros to run. Does
>security need to be reset to allow this screen to apear in excel? If so then
>I will create a doc to explain how to do it. Novices as we are we are getting
>there.
>Thanks for assistance
>
>"Rick Rothstein" wrote:
>
>> You cannot force a system with "high security settings" to run your code.
>> Think about it. First, how would that code run if the security settings stop
>> code from running? Second, if you were able to do that, it would defeat the
>> purpose of having security settings in the first place. If your user is to
>> be able to run your macros, they will have to adjust their Excel settings to
>> either permit macros to run directly (not advisable) or to prompt them if it
>> is alright to run macros (better).
>>
>> --
>> Rick (MVP - Excel)
>>
>>
>> "Curt" <(E-Mail Removed)> wrote in message
>> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
>> > After all this time I have a program that does fine on my comp. When I put
>> > it
>> > on another it says go to online help for macros enable. On my comp when I
>> > open it asks to enable. Is there any code that I can put into excel to
>> > have
>> > it enable when opening or to display screen that allows enable. Have
>> > become
>> > aware of security settings. Assumeing they are high on foreign comp.
>> > Thanks for any assistance.

>>
>>


 
Reply With Quote
 
Curt
Guest
Posts: n/a
 
      18th Dec 2008
Is there any difference in the settings between XP & Vista in security
settings. Both my comp & another are set on medium high. Mine gives a choice
to enable macros the other running Vista with office 2000 same as me asks to
go to online help to enable. I will go back to other comp next week and try
lower settings. As you said medium I hope that is medium high.
Thanks for the input Sure does make a person have confidence when you have
mor knowledgeable one to turn to.
Thanks Again

"Gord Dibben" wrote:

> If security is set at high or very high the user will not get the prompt and
> macros will be diabled.
>
> Security set to medium prior to the workbook being opened will raise the
> prompt.
>
> If the workbook is signed and trusted, no prompt will appear but macros will
> be enabled.
>
>
> Gord Dibben MS Excel MVP
>
> On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
> wrote:
>
> >My problem is getting to the promp screen to allow macros to run. Does
> >security need to be reset to allow this screen to apear in excel? If so then
> >I will create a doc to explain how to do it. Novices as we are we are getting
> >there.
> >Thanks for assistance
> >
> >"Rick Rothstein" wrote:
> >
> >> You cannot force a system with "high security settings" to run your code.
> >> Think about it. First, how would that code run if the security settings stop
> >> code from running? Second, if you were able to do that, it would defeat the
> >> purpose of having security settings in the first place. If your user is to
> >> be able to run your macros, they will have to adjust their Excel settings to
> >> either permit macros to run directly (not advisable) or to prompt them if it
> >> is alright to run macros (better).
> >>
> >> --
> >> Rick (MVP - Excel)
> >>
> >>
> >> "Curt" <(E-Mail Removed)> wrote in message
> >> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
> >> > After all this time I have a program that does fine on my comp. When I put
> >> > it
> >> > on another it says go to online help for macros enable. On my comp when I
> >> > open it asks to enable. Is there any code that I can put into excel to
> >> > have
> >> > it enable when opening or to display screen that allows enable. Have
> >> > become
> >> > aware of security settings. Assumeing they are high on foreign comp.
> >> > Thanks for any assistance.
> >>
> >>

>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      19th Dec 2008
XP and Vista are operating systems and should have no bearing on security
options in Excel but I don't run Vista so not sure.

You are changing the securioty settings in Excel, right?

I never heard of a "medium high" setting but then I have never used Excell
2000 either.


Gord

On Wed, 17 Dec 2008 23:18:01 -0800, Curt <(E-Mail Removed)>
wrote:

>Is there any difference in the settings between XP & Vista in security
>settings. Both my comp & another are set on medium high. Mine gives a choice
>to enable macros the other running Vista with office 2000 same as me asks to
>go to online help to enable. I will go back to other comp next week and try
>lower settings. As you said medium I hope that is medium high.
>Thanks for the input Sure does make a person have confidence when you have
>mor knowledgeable one to turn to.
>Thanks Again
>
>"Gord Dibben" wrote:
>
>> If security is set at high or very high the user will not get the prompt and
>> macros will be diabled.
>>
>> Security set to medium prior to the workbook being opened will raise the
>> prompt.
>>
>> If the workbook is signed and trusted, no prompt will appear but macros will
>> be enabled.
>>
>>
>> Gord Dibben MS Excel MVP
>>
>> On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
>> wrote:
>>
>> >My problem is getting to the promp screen to allow macros to run. Does
>> >security need to be reset to allow this screen to apear in excel? If so then
>> >I will create a doc to explain how to do it. Novices as we are we are getting
>> >there.
>> >Thanks for assistance
>> >
>> >"Rick Rothstein" wrote:
>> >
>> >> You cannot force a system with "high security settings" to run your code.
>> >> Think about it. First, how would that code run if the security settings stop
>> >> code from running? Second, if you were able to do that, it would defeat the
>> >> purpose of having security settings in the first place. If your user is to
>> >> be able to run your macros, they will have to adjust their Excel settings to
>> >> either permit macros to run directly (not advisable) or to prompt them if it
>> >> is alright to run macros (better).
>> >>
>> >> --
>> >> Rick (MVP - Excel)
>> >>
>> >>
>> >> "Curt" <(E-Mail Removed)> wrote in message
>> >> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
>> >> > After all this time I have a program that does fine on my comp. When I put
>> >> > it
>> >> > on another it says go to online help for macros enable. On my comp when I
>> >> > open it asks to enable. Is there any code that I can put into excel to
>> >> > have
>> >> > it enable when opening or to display screen that allows enable. Have
>> >> > become
>> >> > aware of security settings. Assumeing they are high on foreign comp.
>> >> > Thanks for any assistance.
>> >>
>> >>

>>
>>


 
Reply With Quote
 
Curt
Guest
Posts: n/a
 
      19th Dec 2008
My error I was doing it in internet options.
Thanks

"Gord Dibben" wrote:

> XP and Vista are operating systems and should have no bearing on security
> options in Excel but I don't run Vista so not sure.
>
> You are changing the securioty settings in Excel, right?
>
> I never heard of a "medium high" setting but then I have never used Excell
> 2000 either.
>
>
> Gord
>
> On Wed, 17 Dec 2008 23:18:01 -0800, Curt <(E-Mail Removed)>
> wrote:
>
> >Is there any difference in the settings between XP & Vista in security
> >settings. Both my comp & another are set on medium high. Mine gives a choice
> >to enable macros the other running Vista with office 2000 same as me asks to
> >go to online help to enable. I will go back to other comp next week and try
> >lower settings. As you said medium I hope that is medium high.
> >Thanks for the input Sure does make a person have confidence when you have
> >mor knowledgeable one to turn to.
> >Thanks Again
> >
> >"Gord Dibben" wrote:
> >
> >> If security is set at high or very high the user will not get the prompt and
> >> macros will be diabled.
> >>
> >> Security set to medium prior to the workbook being opened will raise the
> >> prompt.
> >>
> >> If the workbook is signed and trusted, no prompt will appear but macros will
> >> be enabled.
> >>
> >>
> >> Gord Dibben MS Excel MVP
> >>
> >> On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
> >> wrote:
> >>
> >> >My problem is getting to the promp screen to allow macros to run. Does
> >> >security need to be reset to allow this screen to apear in excel? If so then
> >> >I will create a doc to explain how to do it. Novices as we are we are getting
> >> >there.
> >> >Thanks for assistance
> >> >
> >> >"Rick Rothstein" wrote:
> >> >
> >> >> You cannot force a system with "high security settings" to run your code.
> >> >> Think about it. First, how would that code run if the security settings stop
> >> >> code from running? Second, if you were able to do that, it would defeat the
> >> >> purpose of having security settings in the first place. If your user is to
> >> >> be able to run your macros, they will have to adjust their Excel settings to
> >> >> either permit macros to run directly (not advisable) or to prompt them if it
> >> >> is alright to run macros (better).
> >> >>
> >> >> --
> >> >> Rick (MVP - Excel)
> >> >>
> >> >>
> >> >> "Curt" <(E-Mail Removed)> wrote in message
> >> >> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
> >> >> > After all this time I have a program that does fine on my comp. When I put
> >> >> > it
> >> >> > on another it says go to online help for macros enable. On my comp when I
> >> >> > open it asks to enable. Is there any code that I can put into excel to
> >> >> > have
> >> >> > it enable when opening or to display screen that allows enable. Have
> >> >> > become
> >> >> > aware of security settings. Assumeing they are high on foreign comp.
> >> >> > Thanks for any assistance.
> >> >>
> >> >>
> >>
> >>

>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      19th Dec 2008
Assume that means you're sorted out.


Gord

On Fri, 19 Dec 2008 14:36:12 -0800, Curt <(E-Mail Removed)>
wrote:

>My error I was doing it in internet options.
>Thanks
>
>"Gord Dibben" wrote:
>
>> XP and Vista are operating systems and should have no bearing on security
>> options in Excel but I don't run Vista so not sure.
>>
>> You are changing the securioty settings in Excel, right?
>>
>> I never heard of a "medium high" setting but then I have never used Excell
>> 2000 either.
>>
>>
>> Gord
>>
>> On Wed, 17 Dec 2008 23:18:01 -0800, Curt <(E-Mail Removed)>
>> wrote:
>>
>> >Is there any difference in the settings between XP & Vista in security
>> >settings. Both my comp & another are set on medium high. Mine gives a choice
>> >to enable macros the other running Vista with office 2000 same as me asks to
>> >go to online help to enable. I will go back to other comp next week and try
>> >lower settings. As you said medium I hope that is medium high.
>> >Thanks for the input Sure does make a person have confidence when you have
>> >mor knowledgeable one to turn to.
>> >Thanks Again
>> >
>> >"Gord Dibben" wrote:
>> >
>> >> If security is set at high or very high the user will not get the prompt and
>> >> macros will be diabled.
>> >>
>> >> Security set to medium prior to the workbook being opened will raise the
>> >> prompt.
>> >>
>> >> If the workbook is signed and trusted, no prompt will appear but macros will
>> >> be enabled.
>> >>
>> >>
>> >> Gord Dibben MS Excel MVP
>> >>
>> >> On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
>> >> wrote:
>> >>
>> >> >My problem is getting to the promp screen to allow macros to run. Does
>> >> >security need to be reset to allow this screen to apear in excel? If so then
>> >> >I will create a doc to explain how to do it. Novices as we are we are getting
>> >> >there.
>> >> >Thanks for assistance
>> >> >
>> >> >"Rick Rothstein" wrote:
>> >> >
>> >> >> You cannot force a system with "high security settings" to run your code.
>> >> >> Think about it. First, how would that code run if the security settings stop
>> >> >> code from running? Second, if you were able to do that, it would defeat the
>> >> >> purpose of having security settings in the first place. If your user is to
>> >> >> be able to run your macros, they will have to adjust their Excel settings to
>> >> >> either permit macros to run directly (not advisable) or to prompt them if it
>> >> >> is alright to run macros (better).
>> >> >>
>> >> >> --
>> >> >> Rick (MVP - Excel)
>> >> >>
>> >> >>
>> >> >> "Curt" <(E-Mail Removed)> wrote in message
>> >> >> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
>> >> >> > After all this time I have a program that does fine on my comp. When I put
>> >> >> > it
>> >> >> > on another it says go to online help for macros enable. On my comp when I
>> >> >> > open it asks to enable. Is there any code that I can put into excel to
>> >> >> > have
>> >> >> > it enable when opening or to display screen that allows enable. Have
>> >> >> > become
>> >> >> > aware of security settings. Assumeing they are high on foreign comp.
>> >> >> > Thanks for any assistance.
>> >> >>
>> >> >>
>> >>
>> >>

>>
>>


 
Reply With Quote
 
Curt
Guest
Posts: n/a
 
      19th Dec 2008
Thanks much will be trying other machine this weekend
Thanks again

"Gord Dibben" wrote:

> Assume that means you're sorted out.
>
>
> Gord
>
> On Fri, 19 Dec 2008 14:36:12 -0800, Curt <(E-Mail Removed)>
> wrote:
>
> >My error I was doing it in internet options.
> >Thanks
> >
> >"Gord Dibben" wrote:
> >
> >> XP and Vista are operating systems and should have no bearing on security
> >> options in Excel but I don't run Vista so not sure.
> >>
> >> You are changing the securioty settings in Excel, right?
> >>
> >> I never heard of a "medium high" setting but then I have never used Excell
> >> 2000 either.
> >>
> >>
> >> Gord
> >>
> >> On Wed, 17 Dec 2008 23:18:01 -0800, Curt <(E-Mail Removed)>
> >> wrote:
> >>
> >> >Is there any difference in the settings between XP & Vista in security
> >> >settings. Both my comp & another are set on medium high. Mine gives a choice
> >> >to enable macros the other running Vista with office 2000 same as me asks to
> >> >go to online help to enable. I will go back to other comp next week and try
> >> >lower settings. As you said medium I hope that is medium high.
> >> >Thanks for the input Sure does make a person have confidence when you have
> >> >mor knowledgeable one to turn to.
> >> >Thanks Again
> >> >
> >> >"Gord Dibben" wrote:
> >> >
> >> >> If security is set at high or very high the user will not get the prompt and
> >> >> macros will be diabled.
> >> >>
> >> >> Security set to medium prior to the workbook being opened will raise the
> >> >> prompt.
> >> >>
> >> >> If the workbook is signed and trusted, no prompt will appear but macros will
> >> >> be enabled.
> >> >>
> >> >>
> >> >> Gord Dibben MS Excel MVP
> >> >>
> >> >> On Wed, 17 Dec 2008 10:27:01 -0800, Curt <(E-Mail Removed)>
> >> >> wrote:
> >> >>
> >> >> >My problem is getting to the promp screen to allow macros to run. Does
> >> >> >security need to be reset to allow this screen to apear in excel? If so then
> >> >> >I will create a doc to explain how to do it. Novices as we are we are getting
> >> >> >there.
> >> >> >Thanks for assistance
> >> >> >
> >> >> >"Rick Rothstein" wrote:
> >> >> >
> >> >> >> You cannot force a system with "high security settings" to run your code.
> >> >> >> Think about it. First, how would that code run if the security settings stop
> >> >> >> code from running? Second, if you were able to do that, it would defeat the
> >> >> >> purpose of having security settings in the first place. If your user is to
> >> >> >> be able to run your macros, they will have to adjust their Excel settings to
> >> >> >> either permit macros to run directly (not advisable) or to prompt them if it
> >> >> >> is alright to run macros (better).
> >> >> >>
> >> >> >> --
> >> >> >> Rick (MVP - Excel)
> >> >> >>
> >> >> >>
> >> >> >> "Curt" <(E-Mail Removed)> wrote in message
> >> >> >> news:6F058A90-3C92-466B-B693-(E-Mail Removed)...
> >> >> >> > After all this time I have a program that does fine on my comp. When I put
> >> >> >> > it
> >> >> >> > on another it says go to online help for macros enable. On my comp when I
> >> >> >> > open it asks to enable. Is there any code that I can put into excel to
> >> >> >> > have
> >> >> >> > it enable when opening or to display screen that allows enable. Have
> >> >> >> > become
> >> >> >> > aware of security settings. Assumeing they are high on foreign comp.
> >> >> >> > Thanks for any assistance.
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot print document - Macros disabled - no macros! edspyhill01 Microsoft Word Document Management 2 11th Jan 2010 07:56 PM
Macros disabled warning in MS Word doc with no macros Earthman Microsoft Word Document Management 2 29th Dec 2009 07:17 PM
Macros are disabled? patsgirl07 Microsoft Access Macros 0 6th Oct 2008 07:38 PM
With macros enabled I still receive "macros disabled" warning. =?Utf-8?B?Qmxha3Rob3JuZQ==?= Microsoft Word Document Management 6 1st Nov 2005 07:20 PM
Re: The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros. Sue Mosher [MVP-Outlook] Microsoft Outlook Installation 0 17th Feb 2004 05:29 PM


Features
 

Advertising
 

Newsgroups
 


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