Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / June 2006

Tip: Looking for answers? Try searching our database.

How to get a macro to execute for every xls thats opened on a mach

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
john conwell - 23 Jun 2006 00:36 GMT
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?
Jim Thomlinson - 23 Jun 2006 01:05 GMT
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
Signature

HTH...

Jim Thomlinson

> 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?
Nick Hodge - 23 Jun 2006 07:56 GMT
Put the code in your personal.xls workbook

Signature

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
nick_hodgeTAKETHISOUT@zen.co.uk.ANDTHIS

> 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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.