Tecnologia, programação e muito Visual FoxPro.

quinta-feira, 16 de setembro de 2010

Re: ]] XL-mania [[ yang bisa bantu, ada imbalan deh.....

 

Perbaikan UDF HewesHewes.
Agar pada subString (subData) KodeKonsumen boleh mengandung huruf "x"

Function HewesHewes(S As String) As Double
   ' siti Vi / 16 september 2010
   Dim i As Integer, t As Integer
   Dim n As Integer, J As Double

   S = S & "."
   n = InStr(1, S, ".")+1
   For i = n To Len(S)
     If LCase(Mid(S, i - 1, 1)) = "x" Then
         t = InStr(i - 1, S, ".")
         J = J + CDbl(Mid(S, i, t - i))
      End If
   Next
   HewesHewes = J
End Function



2010/9/14 dj amor <djamor_69@yahoo.com>
> please help me........
> temen-temen tolong bantu ya......?
> slama ini aq ngitungnya MANUAL...... gak efisien bangetz......
> file contoh aq lampirkan di attachment.....

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| selamat idul fitri untuk yang merayakan. happy holiday untuk yang |
| tidak merayakan...                                                |
| 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              |
+-------------------------------------------------------------------+
.

__,_._,___

Nenhum comentário:

Arquivo do blog