Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default including a macro in all workbooks

Hi,

I have a simple macro which pastes the values of the selected range
into the activecell, and I have this assigned to a shortcut key. How
do I make use of this macro n all workbooks? i.e. each time I open
Excel, the shortcut ill work for me (wheter its a new workbook or an
existing one).

Many thanks,
Matt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default including a macro in all workbooks

Matt,

Store the code in your Personal.xls

HTH,
Bernie
MS Excel MVP


"MJKelly" wrote in message
...
Hi,

I have a simple macro which pastes the values of the selected range
into the activecell, and I have this assigned to a shortcut key. How
do I make use of this macro n all workbooks? i.e. each time I open
Excel, the shortcut ill work for me (wheter its a new workbook or an
existing one).

Many thanks,
Matt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default including a macro in all workbooks

Thanks,

What directory am I likely to find that spreadsheet?

Matt
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default including a macro in all workbooks

Matt,

If it exists, it is stored in your XLStart folder.

To create one, record a macro and under "Store Macro in" choose "Personal macro workbook"

Then Excel will put it in your default XLStart folder - it will be opened every time you start
Excel, and you can figure out where it is stored from there.

HTH,
Bernie
MS Excel MVP


"MJKelly" wrote in message
...
Thanks,

What directory am I likely to find that spreadsheet?

Matt



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default including a macro in all workbooks

Thanks for that - all done.

Matt
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
including entire worksheet sort in a macro PatD Excel Discussion (Misc queries) 2 July 10th 09 06:40 PM
Including Solver Tool in a Macro JoLeigh Excel Programming 2 March 21st 08 11:12 PM
copy worksheets between workbooks - including named ranges christian_spaceman Excel Programming 2 December 20th 07 01:05 PM
Including an inputbox within a macro Drummy[_4_] Excel Programming 1 June 7th 06 07:18 AM
Including an input box within a macro Drummy[_3_] Excel Programming 1 June 6th 06 09:06 AM


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