Article View: free.it.visual-basic
Article #885Inserire dati da form in celle Excel
From: Giorgio
Date: Wed, 09 Feb 2005 21:19
Date: Wed, 09 Feb 2005 21:19
25 lines
1879 bytes
1879 bytes
Per cortesia un aiuto. Sul foglio di Excel ho un Bottone che mi richiama una maschera di inserimento. In questo Form ho 2 campi chiamati TxtNome e TxtIva. Inserendo il dato in TxtNome e premendo Invio mi trascrive il dato nella cella interessata e il setfocus viene preso da TxtIva. Stesso evento per questo campo. Fin qui tutto bene. Se premo Invio il Setfocus rimane sempre nei 2 campi Il problema sorge che non riesco a trovare il modo per far chiudere il Form di inserimento quando entrambe le celle hanno preso i dati Sto utlizzando questo codice Private Sub TxtIva_AfterUpdate() Cells(3, 1) = Me.TxtIva End Sub Private Sub TxtNome_AfterUpdate() Cells(7, 1) = Me.TxtNome End Sub ****************************** Grazie 1000 Giorgio
Technical Details
Message-ID:
<Z7vOd.863592$35.32894425@news4.tin.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,da18f1c10e514961,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail From: "Giorgio" <internetnostop@aliceposta.it> Newsgroups: free.it.visual-basic Subject: Inserire dati da form in celle Excel Lines: 27 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: <Z7vOd.863592$35.32894425@news4.tin.it> Date: Wed, 09 Feb 2005 21:19:53 GMT NNTP-Posting-Host: 82.56.32.32 X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it" X-Trace: news4.tin.it 1107983993 82.56.32.32 (Wed, 09 Feb 2005 22:19:53 MET) NNTP-Posting-Date: Wed, 09 Feb 2005 22:19:53 MET Organization: TIN