Omm....kalo di bikina make VBA kodingannya sbb : ' ------------ ' Nama Modul :Momod.mod ' Kegunaan : Membagi Waktu berdarakan interval waktu ' Created By : puthut_vai@yahoo. ' ------------ Option Explicit Dim wShitMaster As Worksheet Dim x As Variant Dim BarisTerakhir As Long Dim r As Long Dim txtValidasiBawah, txtValidasiAtas, txtValidasi As String Dim vCountHasilAkhir As Long Dim wShitHasil As Worksheet Dim i As Long Sub EnakOOm() Application. Set wShitMaster = Worksheets(" BarisTerakhir = wShitMaster. Set wShitHasil = Worksheets.Add( wShitHasil.Activate vCountHasilAkhir = 3 x = 1 r = 3 txtValidasiBawah = Format(Time, "00:00") txtValidasiAtas = Format(Time, "00:30") ' Loop sampai dengan Cell kosong Do While wShitMaster. For i = 3 To BarisTerakhir If TimeValue(Format( If TimeValue(Format( wShitHasil.Cells( wShitHasil.Cells( wShitHasil.Cells( vCountHasilAkhir = vCountHasilAkhir + 1 End If End If Next i txtValidasiBawah = TimeValue(txtValida txtValidasiAtas = TimeValue(txtValida If x <= 46 Then wShitHasil.Activate wShitHasil.Cells( x = x + 1 End If r = r + 1 Loop For x = 1 To 46 wShitHasil.Cells( Next x wShitHasil.Columns( Application. End Sub ' ------------ ' Nama Fungsi :PenjumlahanWaktu ' Kegunaan : Menjumlah Nilai pada interval waktu yang telah ditentukan ' Created By : puthut_vai@yahoo. ' ------------ Public Function PenjumlahanWaktu( Dim i As Long Dim ValidasiInterval As String Dim TmpValue As Long Set wShitHasil = ActiveSheet wShitHasil.Activate BarisTerakhir = wShitMaster. ' Nilai Default PenjumlahanWaktu = 0 i = 3 For i = 3 To BarisTerakhir ValidasiInterval = Format(wShitHasil. If Intervaljam = ValidasiInterval Then TmpValue = wShitHasil.Cells. PenjumlahanWaktu = TmpValue + PenjumlahanWaktu End If Next i End Function File Terlampir oomm.....Jangan Lupa Srikiti Makronyaaa - ^ Puthut Wibowo ^ - || puthut_vai@yahoo. --- On Mon, 10/19/09, oyi kresnamurti <kresnamurti@
|
__._,_.___
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| Moderasi akan lambat minggu ini, momods pergi ke tempat jauh |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf |
+-------------------------------------------------------------------+
| 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 |
+-------------------------------------------------------------------+
| Moderasi akan lambat minggu ini, momods pergi ke tempat jauh |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf |
+-------------------------------------------------------------------+
| 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 |
+-------------------------------------------------------------------+
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
.
__,_._,___
Nenhum comentário:
Postar um comentário