Tecnologia, programação e muito Visual FoxPro.

domingo, 11 de setembro de 2011

Re: ]] XL-mania [[ nanya validation rule di macro dan seputar macro

 

Private Sub TextBox2_LostFocus()

   With TextBox2

     .Value = Trim(.Value)

     If Not .Value = vbNullString Then

        If InStr(1, .Value, " ") = 0 Then .Activate

     End If

   End With

End Sub



Private Sub cmdHitungrerata_Click()

   Dim nGrade As Single

   nGrade = (Val(TextBox4) + Val(TextBox5) + Val(TextBox6)) / 3

   Label2 = Format(nGrade, "#,##0.00")

End Sub




2011/9/11 Safaat Adha <safaatadha@yahoo.com>
>
> yg pertama:
> mw nanya sama master2 excel nih,,
> gmana cara membuat validation rule yg harus diisi minimal 2 kata di text box..
> contoh: textbox nama harus 2 kata..
> gmana caranya supaya kalo diisi tidak minimal 2 kata akan muncul pesan eror..
>
> yg kedua:
> gmana sih caranya jika command button hitung rerata itu di klik,maka nilai yg di input pada juri 1,2,dan 3
> sudah menjadi rata2 di textbox nilai akhir...
>
> terima kasih sebelumnya...
> file terlampir..

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| selamat idul fitri, mohon maaf lahir dan batin...                 |
| www.linkedin.com/company/xl-mania                                 |
| ayo pesan buku "mengapa boss benci chart anda"  :D :D :D          |
+-------------------------------------------------------------------+
| DILARANG : MLM, money game, OOT, iklan tanpa izin, SARA, testing, |
| pembicaraan pribadi, one line message,  melecehkan,  tidak sopan. |
+-------------------------------------------------------------------+
| Buat subjek yang kreatif, jangan : "tanya", "help", "mohon bantu" |
| Usahakan besar attachment < 200 kb. Gunakan  winzip  jika  perlu. |
+-------------------------------------------------------------------+
| Ajak teman-teman Anda bergabung dengan mengirim e-mail kosong ke  |
| XL-mania-subscribe@yahoogroups.com atau kirimkan mereka file dari |
| http://groups.yahoo.com/group/XL-mania/files/Promotion/           |
+-------------------------------------------------------------------+
| Berikan testimoni di : http://www.friendster.com/xlmania atau...  |
| http://www.xl-mania.com/2008/06/testimoni-xl-mania.html           |
+-------------------------------------------------------------------+
| Message lama ada di :                                             |
| http://groups.yahoo.com/group/XL-mania/messages [perlu yahoo id]  |
| http://www.mail-archive.com/xl-mania@yahoogroups.com              |
+-------------------------------------------------------------------+
MARKETPLACE
A bad score is 598. A bad idea is not checking yours, at freecreditscore.com.

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Nenhum comentário:

Arquivo do blog