Tecnologia, programação e muito Visual FoxPro.

quarta-feira, 25 de agosto de 2010

Re: ]] XL-mania [[ Mengambil Text

 

E^e.. salah ya ?? (tiap elemennya ikut dibalik)

seharusnya begini kalleee.. 

Function DataDariKananKe(S As String, Idx As Integer)
   ' siti Vi // aug 25 aug 2010 /modified
   Dim ArrS, i As Long, n As Long
   ArrS = Split(Trim(S), "-")
   n = UBound(ArrS)
   DataDariKananKe = ""
   
   If Idx > n + 1 Then Exit Function
   For i = n To 0 Step -1
       If n + 1 - i = Idx Then
          DataDariKananKe = Val(ArrS(i))
          Exit For
       End If
   Next i
  
End Function



2010/8/25 STDEV(i) <setiyowati.devi@gmail.com>
=DataDariKananKe($A3,B$2)

Function DataDariKananKe(S As Range, Idx As Integer)
   Dim ArrS
   ArrS = Split(StrReverse(Trim(S) & "-"), "-")
   DataDariKananKe = CDbl(ArrS(Idx))
End Function


2010/8/25 <ndorodwi@yahoo.com>

Rekan2 XL-Mania, saya mempunyai kasus (file terlampir), mengambil text dari kanan. Namun hasilnya ada di cell yg berlainan.
Regards
DWJ

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| oooppsss... 216 e-mails di folder sp4m kepencet [delete] :(       |
| 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              |
+-------------------------------------------------------------------+
MARKETPLACE

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


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.

.

__,_._,___

Nenhum comentário:

Arquivo do blog