Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default Enable macro on opening workbook

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Enable macro on opening workbook

change the name of the macro to AUTOOPEN

eg
___________________________
Sub AutoOpen

your code

End Sub
___________________________

hth
regards from Brazil
Marcelo

"ASU" escreveu:

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU

  #3   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default Enable macro on opening workbook

Obrigado!
Ill see if it works
--
ASU


"Marcelo" wrote:

change the name of the macro to AUTOOPEN

eg
___________________________
Sub AutoOpen

your code

End Sub
___________________________

hth
regards from Brazil
Marcelo

"ASU" escreveu:

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU

  #4   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default Enable macro on opening workbook

OK. Having problems. When I open the workbook, I get a popup asking me enable
or diseable macro. How do I get it to enable macro automatically without
asking me.
--
ASU


"ASU" wrote:

Obrigado!
Ill see if it works
--
ASU


"Marcelo" wrote:

change the name of the macro to AUTOOPEN

eg
___________________________
Sub AutoOpen

your code

End Sub
___________________________

hth
regards from Brazil
Marcelo

"ASU" escreveu:

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Enable macro on opening workbook

There's an option under Tools|Macro|Security|security level.

If you change it to low, you won't be prompted. MS doesn't recommend this
setting, though.

And rename that macro to Auto_Open (with the underscore). And make sure it's in
a general module.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

ASU wrote:

OK. Having problems. When I open the workbook, I get a popup asking me enable
or diseable macro. How do I get it to enable macro automatically without
asking me.
--
ASU

"ASU" wrote:

Obrigado!
Ill see if it works
--
ASU


"Marcelo" wrote:

change the name of the macro to AUTOOPEN

eg
___________________________
Sub AutoOpen

your code

End Sub
___________________________

hth
regards from Brazil
Marcelo

"ASU" escreveu:

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Enable macro on opening workbook

Ps. If you share this workbook with others, then they'll have to toggle that
same setting. It's a user by user setting--not a workbook setting.

Dave Peterson wrote:

There's an option under Tools|Macro|Security|security level.

If you change it to low, you won't be prompted. MS doesn't recommend this
setting, though.

And rename that macro to Auto_Open (with the underscore). And make sure it's in
a general module.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

ASU wrote:

OK. Having problems. When I open the workbook, I get a popup asking me enable
or diseable macro. How do I get it to enable macro automatically without
asking me.
--
ASU

"ASU" wrote:

Obrigado!
Ill see if it works
--
ASU


"Marcelo" wrote:

change the name of the macro to AUTOOPEN

eg
___________________________
Sub AutoOpen

your code

End Sub
___________________________

hth
regards from Brazil
Marcelo

"ASU" escreveu:

How can I automatically enable Macro on opening my workbook(which contains 7
worksheets).
--
ASU


--

Dave Peterson


--

Dave Peterson
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
Run macro when opening workbook nsv Excel Discussion (Misc queries) 4 September 6th 05 12:19 PM
Passing selected workbook name and values to a macro simora Excel Worksheet Functions 0 May 25th 05 07:24 PM
how to enable macro ginger Excel Worksheet Functions 2 April 11th 05 08:36 PM
Extract specific data into its own workbook via macro? Adrian B Excel Discussion (Misc queries) 2 February 24th 05 06:09 AM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


All times are GMT +1. The time now is 11:29 PM.

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

About Us

"It's about Microsoft Excel"