#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Where do macros go?

Where exactly do you put them?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Where do macros go?

Macros are stored in VBA Modules, or in worksheet and workbook modules. By
default, when you record a macro it's placed in a module named Module# where
# is the next available module number and saved with the current workbook.

To make macros available to all workbooks you can place them in a workbook
named PERSONAL.XLS, which opens up in the background each time you start
Excel, but is hidden from view. Click WINDOW and select UNHIDE to actually
view the PERSONAL workbook.


--
Kevin Backmann


"STEVE" wrote:

Where exactly do you put them?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Where do macros go?

That doesn't answer my question exactly does it?
Step-by-step, where do I enter a macro please?

"Kevin B" wrote:

Macros are stored in VBA Modules, or in worksheet and workbook modules. By
default, when you record a macro it's placed in a module named Module# where
# is the next available module number and saved with the current workbook.

To make macros available to all workbooks you can place them in a workbook
named PERSONAL.XLS, which opens up in the background each time you start
Excel, but is hidden from view. Click WINDOW and select UNHIDE to actually
view the PERSONAL workbook.


--
Kevin Backmann


"STEVE" wrote:

Where exactly do you put them?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Where do macros go?

Two ways.

Click on Tools Macro, Record New Macro. Go through the motions as you would
like the macro to do it, and at the end click on Stop Recording. Now press
<Alt<F11 to go to VBE, in the left hand window, find the workbook you were
working in, double click on Module1 below that, and you will see your code.

Else, Press <Alt<F11, find the workbook you want to write the macro in,
click on Insert|Module.
Now, in the right hand window, type away?



--
kassie

never stop learning




"STEVE" wrote in message
...
That doesn't answer my question exactly does it?
Step-by-step, where do I enter a macro please?

"Kevin B" wrote:

Macros are stored in VBA Modules, or in worksheet and workbook modules.
By
default, when you record a macro it's placed in a module named Module#
where
# is the next available module number and saved with the current
workbook.

To make macros available to all workbooks you can place them in a
workbook
named PERSONAL.XLS, which opens up in the background each time you start
Excel, but is hidden from view. Click WINDOW and select UNHIDE to
actually
view the PERSONAL workbook.


--
Kevin Backmann


"STEVE" wrote:

Where exactly do you put them?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Where do macros go?

Thanks...that's what I was looking for!

"Kassie" wrote:

Two ways.

Click on Tools Macro, Record New Macro. Go through the motions as you would
like the macro to do it, and at the end click on Stop Recording. Now press
<Alt<F11 to go to VBE, in the left hand window, find the workbook you were
working in, double click on Module1 below that, and you will see your code.

Else, Press <Alt<F11, find the workbook you want to write the macro in,
click on Insert|Module.
Now, in the right hand window, type away?



--
kassie

never stop learning




"STEVE" wrote in message
...
That doesn't answer my question exactly does it?
Step-by-step, where do I enter a macro please?

"Kevin B" wrote:

Macros are stored in VBA Modules, or in worksheet and workbook modules.
By
default, when you record a macro it's placed in a module named Module#
where
# is the next available module number and saved with the current
workbook.

To make macros available to all workbooks you can place them in a
workbook
named PERSONAL.XLS, which opens up in the background each time you start
Excel, but is hidden from view. Click WINDOW and select UNHIDE to
actually
view the PERSONAL workbook.


--
Kevin Backmann


"STEVE" wrote:

Where exactly do you put them?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Where do macros go?

Glad I could be of assistance! Thanks for the response

--
kassie

never stop learning




"STEVE" wrote in message
...
Thanks...that's what I was looking for!

"Kassie" wrote:

Two ways.

Click on Tools Macro, Record New Macro. Go through the motions as you
would
like the macro to do it, and at the end click on Stop Recording. Now
press
<Alt<F11 to go to VBE, in the left hand window, find the workbook you
were
working in, double click on Module1 below that, and you will see your
code.

Else, Press <Alt<F11, find the workbook you want to write the macro in,
click on Insert|Module.
Now, in the right hand window, type away?



--
kassie

never stop learning




"STEVE" wrote in message
...
That doesn't answer my question exactly does it?
Step-by-step, where do I enter a macro please?

"Kevin B" wrote:

Macros are stored in VBA Modules, or in worksheet and workbook
modules.
By
default, when you record a macro it's placed in a module named Module#
where
# is the next available module number and saved with the current
workbook.

To make macros available to all workbooks you can place them in a
workbook
named PERSONAL.XLS, which opens up in the background each time you
start
Excel, but is hidden from view. Click WINDOW and select UNHIDE to
actually
view the PERSONAL workbook.


--
Kevin Backmann


"STEVE" wrote:

Where exactly do you put them?






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
Strip workbook of macros, VBA, MS Query, etc. Paul Kraemer Excel Discussion (Misc queries) 4 September 7th 06 01:30 PM
Hide Macro's in Toolbar / Macro's list sparx Excel Discussion (Misc queries) 2 May 6th 06 08:53 PM
how do I run excel 4.0 macros on excel 2000 RodolfoDallas Excel Discussion (Misc queries) 1 March 12th 06 03:14 AM
Excel crashes while opening excel file imbeddied with macros ct2147 Excel Discussion (Misc queries) 0 December 30th 05 09:05 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM


All times are GMT +1. The time now is 05:30 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"