OOmm......Format nya kayak gini kan oom ? 2 buah anggur x Rp. 500,- 10 Picis Laptop x Rp 50000,- 1000 buah pelet x RP 30000,- dalam artian kuantitas * Harga = Total Harga Langkah yang di lakukan cek dari cell bersangkutan kemudian setiap kalimat di pindahkan ke cell berikutnya.. Dim PuncChars As Variant, y, z As Variant Dim array1 As Variant Dim counter As Integer Sub LaksanakanOoom( PuncChars = Array(",", "-", ",-") For Each cell In Selection counter = (cell.Column + 1) array1 = Split(cell.Value, " ") For i = 0 To UBound(array1) If i > 2 And i < (UBound(array1) - 1) Then Cells(cell.Row, counter).Value = Cells(cell.Row, counter).Value & " " & array1(i) If i = UBound(array1) - 2 Then counter = counter + 1 End If Else For y = 0 To UBound(PuncChars) 'Replace tanda ',' dan '-' yang melekat pada uang 500,- Cells(cell.Row, counter).Value = Replace(array1( Next y counter = counter + 1 If counter >= 8 Then ' BRUTAL CODE...... ;P udah pagi ngantuk (Kenapa om momod mostingnya dini hari terus) jadi buru2x kembangin sendiri aja oom Cells(cell.Row, 8).Value = Val(Cells(cell. ' Perhatikan : ' Kalo mau liat Stepnya di delete ada dari kolom B sampe G ------------ Columns("B:G" Selection.Delete Shift:=xlToLeft ' ------------ End If End If Next Next End Sub File terlampir (Kodingannya agak BRUTAL oom..... , udah ngantuk mau buru2x .......) ... Puthut Wibowo --- On Mon, 9/14/09, jefri_suryatin <jefri_suryatin@
|
__._,_.___
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| Ada lowongan jadi direktur ga? Hubungi momods please... :D |
| 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 |
+-------------------------------------------------------------------+
| Ada lowongan jadi direktur ga? Hubungi momods please... :D |
| 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
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