Article View: microsoft.public.excel.misc
Article #7Re: Startup Macro Help! Easy one, I think....
From: Brien Downes
Date: Thu, 13 Nov 1997 00:00
Date: Thu, 13 Nov 1997 00:00
36 lines
1941 bytes
1941 bytes
In Excel97, attach to the workbook object: Private Sub Workbook_Open() End Sub When you "view code" for the workbook object (select in your project window;hit view code), the module is blank. Select the dropdown arrow on the left and then select workbook. The above code should appear. In any case, the dropdown arrow on the right will now show the events associated with the workbook. Daryl Crich wrote: > Steve Silberberg wrote: > > > > I cannot for the life of me figure out how to get Excel to run a Macro at > > start up. It's not anywhere in the on-line documentation, although the > > documentation says to press "Shift" to cancel the mysterious macro. > > > > How do you do it? > > Steve "Whatever happened to auto123.wk1 anyway?" Silberberg > > > > ---------------- > > Steve Silberberg > > mailto:stevebo@onramp.net > > Visit the Air Sickness Bag Museum at: > > http://rampages.onramp.net/~stevebo/airsick.html > > FACT: Buff Babes Dig Cut Dudes! > To run the macro on opening a workbook, simply call it Auto_Open(). I > assume this is the function you're talking about. > -- > ___ > __| |_______ ______ ___ ______ > / _ | _ | _ \\ \/ / | Send E-Mail to: > | ( _| | _ | |_) / | || |___ x!daryl_crich@amp.com.au!x > \ ______|__| |__|___|\___\|____||_______| (remove !x - I hate spam!)
Technical Details
Message-ID:
<346AD8DC.5126BD65@ibm.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<648shq$94h@news.onramp.net> <346A2665.187@bottom.of.page>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fad30,f37cc3c9b69f04e2 X-Google-Attributes: gidfad30,public X-Google-Thread: 1112c7,f37cc3c9b69f04e2 X-Google-Attributes: gid1112c7,public From: Brien Downes <aminus@ibm.net> Subject: Re: Startup Macro Help! Easy one, I think.... Date: 1997/11/13 Message-ID: <346AD8DC.5126BD65@ibm.net> X-Deja-AN: 289196988 References: <648shq$94h@news.onramp.net> <346A2665.187@bottom.of.page> To: Daryl Crich <see@bottom.of.page> Newsgroups: microsoft.public.excel.misc,dfw.test