Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to get a macro to execute for every xls thats opened on a mach

I've got a macro that executes when the spreadsheet is opened. Is there a
way to set this marco to execute for any spreadsheet that is opened on my
machine? Not just the one that has the macro embeddid in it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default How to get a macro to execute for every xls thats opened on a mach

You need to get your head around applicaiton level wvents. Take a look at
this link to get started...

http://www.cpearson.com/excel/AppEvent.htm
--
HTH...

Jim Thomlinson


"john conwell" wrote:

I've got a macro that executes when the spreadsheet is opened. Is there a
way to set this marco to execute for any spreadsheet that is opened on my
machine? Not just the one that has the macro embeddid in it?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default How to get a macro to execute for every xls thats opened on a mach

Put the code in your personal.xls workbook

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"john conwell" wrote in message
...
I've got a macro that executes when the spreadsheet is opened. Is there a
way to set this marco to execute for any spreadsheet that is opened on my
machine? Not just the one that has the macro embeddid in it?



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
Mach Dividend Excel Worksheet Functions 2 November 27th 07 07:36 PM
Lookup and mach Esrei Excel Discussion (Misc queries) 2 June 19th 06 04:22 PM
the macro don't execute robson soares Excel Programming 5 January 12th 06 06:57 PM
execute a macro Rossy Excel Programming 2 December 15th 05 09:04 AM
"Could not load an object because it is not available on this mach caroline Excel Programming 2 October 20th 05 04:31 PM


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