🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #3498

Re: Forse OT (spero di no)

#3498
From: Maurizio Borrelli
Date: Sun, 23 Jun 2002 14:52
26 lines
1729 bytes
> "Carletto" [...]:
> Ho creato una macro in Microsoft Visual Basic per excel ma vorrei che essa
> partisse quando apro il mio foglio di calcolo.
> Come posso fare?

    Dove sta, fisicamente, questa macro? In un modulo della stessa cartella
di lavoro dalla quale vuoi avviarla ogni volta che viene aperta tale
cartella di lavoro e solo in quel caso? Allora, supponendo che il nome sia
"MiaMacro":

ThisWorkbook:

Option Explicit

Private Sub Workbook_Open()
  MiaMacro

End Sub

--
Ciao.
Maurizio
--------
?SPQR(C)
 X
--------
Technical Details
Message-ID: <af4msq$e0d$1@newsreader.mailgate.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!proxad.net!skynet.be!skynet.be!news.mailgate.org!newsreader.mailgate.org!not-for-mail
References: <ZVkR8.61276$TS.1713460@news1.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit
X-Google-Thread: f94ee,f57be98ac19244ae
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-06-23 07:44:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!proxad.net!skynet.be!skynet.be!news.mailgate.org!newsreader.mailgate.org!not-for-mail
From: "Maurizio Borrelli" <maurizio.borrelli@freepass.it>
Newsgroups: free.it.visual-basic
Subject: Re: Forse OT (spero di no)
Date: Sun, 23 Jun 2002 16:52:36 +0200
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 28
Sender: maurizio.borrelli@freepass.it
Message-ID: <af4msq$e0d$1@newsreader.mailgate.org>
References: <ZVkR8.61276$TS.1713460@news1.tin.it>
NNTP-Posting-Host: ip119-30.dialup.edisontel.com
X-Trace: newsreader.mailgate.org 1024843483 14349 62.94.130.120 (23 Jun 2002 14:44:43 GMT)
X-Complaints-To: abuse@mailgate.org
NNTP-Posting-Date: Sun, 23 Jun 2002 14:44:43 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000