Article View: free.it.visual-basic
Article #966Un aiuto
From: brostin
Date: Tue, 01 Feb 2005 18:09
Date: Tue, 01 Feb 2005 18:09
37 lines
2125 bytes
2125 bytes
Ciaoa tutti,
la mia domanda � inerente a questa istruzione che dovrebbe eliminare delle
righe del mio
foglio Excel all'interno del range indicato:
Private Sub OptionButton2_Click()
For y = 1 To 100
If Range("A" & y) >= Val(TextBox2.Text) And Range("A" & y) <=
Val(TextBox3.Text) Then
Selection.EntireRow.Delete
OptionButton2_Click
End If
Next
End Sub
Nel libro che sto' seguendo per iniziare a muovere i primi passi, dov'�
riportata l'istruzione ...
If Range("A" & y) >= Val(TextBox2.Text)_ And Range("A" & y) <=
Val(TextBox3.Text) Then
compare un trattino dopo l'istruzione Val(TextBox2.Text).
A questo punto pero' il mio problema � duplice nel senso che NON inserendo
il trattino VB non mi da errore ma NON
mi esegue la cancellazione delle righe all'interno dell'intervallo
selezionato. Inserendolo mi da un errore e non
mi consente di proseguire...
Cosa devo fare?
Inoltre, se posso, QUALCUNO SA SPIEGARMI CORRETTAMENTE LA SINTASSI DI QUESTA
ISTRUZIONE:
Range("A6") = "AVERAGE(R[-5]C:R[-1]C"
Grazie
Technical Details
Message-ID:
<JBPLd.482202$b5.22847642@news3.tin.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,6e46c105e24c9644,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail From: "brostin" <brostin@libero.it> Newsgroups: free.it.visual-basic Subject: Un aiuto Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: <JBPLd.482202$b5.22847642@news3.tin.it> Date: Tue, 01 Feb 2005 18:09:45 GMT NNTP-Posting-Host: 82.54.123.139 X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it" X-Trace: news3.tin.it 1107281385 82.54.123.139 (Tue, 01 Feb 2005 19:09:45 MET) NNTP-Posting-Date: Tue, 01 Feb 2005 19:09:45 MET Organization: TIN