Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Start Autorun without Enable security

People

Hi

I'm am starting an excel file with an autorun macro. SInce
I'm in the medium secuirty mode, upon starting I get the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to run
to completion automatically without stopping?

Thanks for your help


JAck
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Macro Start Autorun without Enable security

Jack

That would slightly defeat the object of the security! The only way is to
pre-install the workbook as an add-in or sign the code project with a paid
for security certificate

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"Jack" wrote in message
...
People

Hi

I'm am starting an excel file with an autorun macro. SInce
I'm in the medium secuirty mode, upon starting I get the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to run
to completion automatically without stopping?

Thanks for your help


JAck



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Macro Start Autorun without Enable security

"Nick Hodge" wrote in message
...
Jack

<snip
sign the code project with a paid
for security certificate

<snip

you don't have to pay for a security certificate. Do a search for
selfcert.exe (comes with office) and run it. You can create your own
certificate that is then used to sign the vba. When you run the macro,
install the certificate and from then on, everything you sign will always
run, even if security is high. Once everyone installed my certificate, all
macros run. We have used this at our office with much success.

Paul D


  #5   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Macro Start Autorun without Enable security

Paul Hi

Thanks for the comeback. I found the file and self
certified. But how do you install the certificate when you
autorun the macro?


Jack

-----Original Message-----
"Nick Hodge"

wrote in message
...
Jack

<snip
sign the code project with a paid
for security certificate

<snip

you don't have to pay for a security certificate. Do a

search for
selfcert.exe (comes with office) and run it. You can

create your own
certificate that is then used to sign the vba. When you

run the macro,
install the certificate and from then on, everything you

sign will always
run, even if security is high. Once everyone installed my

certificate, all
macros run. We have used this at our office with much

success.

Paul D


.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Macro Start Autorun without Enable security

wrote in message
...
Paul Hi

Thanks for the comeback. I found the file and self
certified. But how do you install the certificate when you
autorun the macro?



Well I'm going from memory here so work with me...

If you have the security set to medium or high, you should get a dialog box
upon opening the sheet about a certificate. You want to go to view
certificate. I believe after view certificate you should then be presented
with the option to install it. After install you will then have to leave
excel and restart excel. Open the file again and you should see the same
dialog but this time the trust this source button should be visible. Click
this and you are ready to go.

As stated this is from memory from awhile ago so may not be quite right.
Post back with more specifics and I can try to help

Paul D


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 339
Default Macro Start Autorun without Enable security


"Jack" wrote in message
...
People

Hi

I'm am starting an excel file with an autorun macro. SInce
I'm in the medium secuirty mode, upon starting I get the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to run
to completion automatically without stopping?

Thanks for your help


JAck


You have to sign your VBA code
http://office.microsoft.com/en-us/as...189901033.aspx

/Fredrik


  #8   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Macro Start Autorun without Enable security

Thanks

Jack

-----Original Message-----

"Jack" wrote in message
...
People

Hi

I'm am starting an excel file with an autorun macro.

SInce
I'm in the medium secuirty mode, upon starting I get the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to

run
to completion automatically without stopping?

Thanks for your help


JAck


You have to sign your VBA code
http://office.microsoft.com/en-

us/assistance/HA011189901033.aspx

/Fredrik


.

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Macro Start Autorun without Enable security

You don't. That is the whole point to asking. If there was a way around it
then Viruses would just do that. You can look at trusted sources depending on
which version of Excel you are running, or getting a digital signature. That
might be a solution...

HTH

"Jack" wrote:

People

Hi

I'm am starting an excel file with an autorun macro. SInce
I'm in the medium secuirty mode, upon starting I get the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to run
to completion automatically without stopping?

Thanks for your help


JAck

  #10   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Macro Start Autorun without Enable security

You absolutely right.

I didn't think of that. Silly Me.

Jack
-----Original Message-----
You don't. That is the whole point to asking. If there

was a way around it
then Viruses would just do that. You can look at trusted

sources depending on
which version of Excel you are running, or getting a

digital signature. That
might be a solution...

HTH

"Jack" wrote:

People

Hi

I'm am starting an excel file with an autorun macro.

SInce
I'm in the medium secuirty mode, upon starting I get

the
macro enable/disable screen.

How do I disable macro enable/disable screen without
lowering the security level, since I want the macro to

run
to completion automatically without stopping?

Thanks for your help


JAck

.



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 to get around the Enable Macro security message? cfman Excel Discussion (Misc queries) 5 March 4th 07 03:59 PM
Autorun Macro rexmann Excel Discussion (Misc queries) 2 August 2nd 06 02:03 PM
How to enable a macro permanently so that it doesn't ask at start up? Athena Excel Discussion (Misc queries) 1 May 19th 06 05:54 PM
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet wyndman Excel Programming 2 May 25th 04 06:59 PM


All times are GMT +1. The time now is 12:58 AM.

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"