Tecnologia, programação e muito Visual FoxPro.

sábado, 24 de outubro de 2009

Re: ]] XL-mania [[ Mencari Tanda + dalam suatu Rumus

 

Om om Kodingannya sbb  :
' --------------------------------------------------------------------
' Nama Modul :mODSolusi.mod
' Kegunaan : Menjumlah Banyaknya Transaksi Berdasarkan Tanda '+'
' Created By : puthut_vai@yahoo.com @ 25 Okt 2009
' --------------------------------------------------------------------

Option Explicit

Sub JumlahkanTanda()
    Dim InputSheet As Worksheet
    Dim i As Long, r As Long
    Dim x As Variant
    Dim txt As String
    Dim CountHasil As Long
       
    Application.ScreenUpdating = False
    Set InputSheet = ActiveSheet
    r = 3
    InputSheet.Activate
   
'   Looping ampe habis
    Do While Cells(r, 2) <> ""
'       Value = Formula dalam Cell
        txt = Cells(r, 2).Formula
        CountHasil = 1

'       Jabarkan Hasil
        x = Split(txt, "+")
        For i = 1 To UBound(x)
            CountHasil = CountHasil + 1
            InputSheet.Cells(r, 3) = CountHasil
        Next i
    r = r + 1
    Loop
End Sub


File Terlampir oomm.....
- ^ Puthut Wibowo ^ - || puthut_vai@yahoo.com





























--- On Sat, 10/24/09, Adrian I. Soetomo <blewah_nih@yahoo.com.au> wrote:

From: Adrian I. Soetomo <blewah_nih@yahoo.com.au>
Subject: ]] XL-mania [[ Mencari Tanda + dalam suatu Rumus
To: "XL-mania@yahoogroups.com" <XL-mania@yahoogroups.com>
Date: Saturday, October 24, 2009, 11:37 PM

 

Dear Para Suhu XL-Mania,
Newbie mohon bantuan utk menemukan cara yg tepat mencari tanda "+" dalam suatu rumus sehingga bisa mengetahui banyaknya peenjumlahan yg terjadi di sel tsb.
Atas bantuannya disampaikan terima kasih..

-Adrian-


Get more done like never before with Yahoo!7 Mail. Learn more.


__._,_.___
+-:: 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              |
+-------------------------------------------------------------------+
Recent Activity
Visit Your Group
Give Back

Yahoo! for Good

Get inspired

by a good cause.

Y! Toolbar

Get it Free!

easy 1-click access

to your groups.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

Nenhum comentário:

Arquivo do blog