Article View: free.it.visual-basic
Article #3464Re: Form excel
From: Alan1
Date: Sun, 16 Jun 2002 20:42
Date: Sun, 16 Jun 2002 20:42
52 lines
2645 bytes
2645 bytes
Sono ancora in difficolt�, mi succede questo: mentre scrivevo queste righe > MsgBox _ > "Errore " & .Number & vbCrLf _ > & .Description _ > , vbCritical + vbOKOnly _ > , "TestUserForm1" mi dava il seguente messaggio d'errore: errore di compilazione. previsto: numero di riga oppure istruzione oppuure etichetta oppure fine istruzione. che penso superato avendo scritto il tutto sulla stessa riga. Al passaggio Debug > Compila PTestUserForm mi dice, Variabile non definita evidenziando vbModal > frm.Show vbModal che supero inserendo sotto la riga > Option Explicit Dim vbModal al che compare l'errore sempre sulla stessa riga evidenziando Show errore di compilazione Numero errato di argomenti o assegnazione di propriet� non valida. Ringraziandoti per il consiglio che � ottimo e graditissimo, torno di nuovo a chiedere aiuto, ciao alan1 "Maurizio Borrelli" <maurizio.borrelli@freepass.it> ha scritto nel messaggio news:ae9hp9$kut$1@newsreader.mailgate.org... > ' *** INIZIO CODICE *** > Option Explicit > > Public Sub TestMyFirstUserForm() > On Error GoTo errh > Dim frm As FMyFirstUserForm > > Set frm = New FMyFirstUserForm > frm.Show vbModal > > ext: > Set frm = Nothing > Exit Sub > > errh: > With Err > MsgBox _ > "Errore " & .Number & vbCrLf _ > & .Description _ > , vbCritical + vbOKOnly _ > , "TestUserForm1" > End With > > End Sub > ' *** FINE CODICE ***
Technical Details
Message-ID:
<MK6P8.40446$TS.1194543@news1.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mailReferences:
<pBMN8.36489$5i1.1373230@news2.tin.it> <ae9hp9$kut$1@newsreader.mailgate.org>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,765684f68f860f41 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-06-16 13:42:22 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail From: "Alan1" <renainn@tin.it> Newsgroups: free.it.visual-basic References: <pBMN8.36489$5i1.1373230@news2.tin.it> <ae9hp9$kut$1@newsreader.mailgate.org> Subject: Re: Form excel Lines: 55 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 Message-ID: <MK6P8.40446$TS.1194543@news1.tin.it> Date: Sun, 16 Jun 2002 20:42:20 GMT NNTP-Posting-Host: 213.45.245.179 X-Complaints-To: newsmaster@tin.it X-Trace: news1.tin.it 1024260140 213.45.245.179 (Sun, 16 Jun 2002 22:42:20 MET DST) NNTP-Posting-Date: Sun, 16 Jun 2002 22:42:20 MET DST Organization: TIN