<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chan&#039;s Diary of the Dead</title>
	<atom:link href="http://chan1990.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chan1990.wordpress.com</link>
	<description>WAITING IS WASTING 4 PEOPLE LIKE ME</description>
	<lastBuildDate>Thu, 30 Jun 2011 10:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chan1990.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chan&#039;s Diary of the Dead</title>
		<link>http://chan1990.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chan1990.wordpress.com/osd.xml" title="Chan&#039;s Diary of the Dead" />
	<atom:link rel='hub' href='http://chan1990.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Spelling Number with Ms. Excel</title>
		<link>http://chan1990.wordpress.com/2011/06/30/spelling-number-with-ms-excel/</link>
		<comments>http://chan1990.wordpress.com/2011/06/30/spelling-number-with-ms-excel/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 10:17:55 +0000</pubDate>
		<dc:creator>chanif</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[vba]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[terbilang]]></category>
		<category><![CDATA[spelling]]></category>
		<category><![CDATA[number]]></category>

		<guid isPermaLink="false">http://chan1990.wordpress.com/?p=64</guid>
		<description><![CDATA[Saya bingung mau nulis kata pengantar apa. Udah lama gak ngepos seh To the point aja deh .. Anda mau menggunakan otomatisasi data di excel dengan menggunakan number spelling seperti ini? &#160; &#160; &#160; &#160; &#160; &#160; Bisa sih dilakukan manual, tapi kalau data Transaksinya sampai ribuan row ? Tenang aja, semua bisa dilakukan dengan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chan1990.wordpress.com&amp;blog=4786730&amp;post=64&amp;subd=chan1990&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Saya bingung mau nulis kata pengantar apa. Udah lama gak ngepos seh <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>To the point aja deh .. Anda mau menggunakan otomatisasi data di excel dengan menggunakan number spelling seperti ini?</p>
<p><a href="http://chan1990.files.wordpress.com/2011/06/excel.png"><img class="alignleft size-full wp-image-66" title="excel" src="http://chan1990.files.wordpress.com/2011/06/excel.png?w=390&#038;h=210" alt="preview excel" width="390" height="210" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Bisa sih dilakukan manual, tapi kalau data Transaksinya sampai ribuan row ?</p>
<p>Tenang aja, semua bisa dilakukan dengan menambahkan sedikit koding pada modul excel anda.</p>
<p><span id="more-64"></span>Caranya adalah sebagai berikut :</p>
<p>1. Buka Excel</p>
<p>2. Tekan Alt + F11 untuk memunculkan Window VBA</p>
<p><a href="http://chan1990.files.wordpress.com/2011/06/vba.png"><img class="alignleft size-full wp-image-68" title="vba" src="http://chan1990.files.wordpress.com/2011/06/vba.png?w=390&#038;h=210" alt="Visual Basic for Application usually included in ms office installation" width="390" height="210" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>3. Klik Insert -&gt; Module</p>
<p>4. Lalu tambahkan kode berikut ini ke dalam modul tersebut</p>
<blockquote><p>Option Explicit<br />
Function Terbilang(ByVal Rp As Currency) As String<br />
Dim Pos, Uang, Ket, Rpx</p>
<p>Uang = Array(1000000000000#, 1000000000, 1000000, 1000, 1, 0)<br />
Ket = Array(&#8221; Triliun&#8221;, &#8221; Miliar&#8221;, &#8221; Juta&#8221;, &#8221; Ribu&#8221;, &#8220;&#8221;, &#8220;&#8221;)</p>
<p>Do<br />
For Pos = 0 To 4<br />
If Rp &gt;= Uang(Pos) Then<br />
Rpx = Rp / Uang(Pos)<br />
Rpx = IIf(Rpx &gt;= 100, Left(Rpx, 3), IIf(Rpx &gt;= 10, Left(Rpx, 2), Left(Rpx, 1)))<br />
Exit For<br />
End If<br />
Next Pos<br />
Terbilang = Terbilang &amp; Konversi(Rpx, Pos, Len(CStr(Rp)))<br />
Rp = Rp &#8211; (Rpx * Uang(Pos))<br />
If Not (Rpx = 1 And Pos = 3) Then Terbilang = Terbilang &amp; Ket(Pos)<br />
If Pos = 4 Or Rp &lt; 1 Then Exit Do<br />
Loop</p>
<p>If Rp &gt; 0 Then<br />
Rp = Mid(Rp, 3)<br />
Terbilang = Terbilang &amp; &#8221; Koma&#8221; &amp; Konversi(Rp, 0, Len(CStr(Rp)))<br />
End If<br />
Terbilang = Terbilang</p>
<p>End Function</p>
<p>Function Konversi(ByVal Rp As Integer, ByVal Pos As Byte, ByVal Pjg As Integer) As String<br />
Dim Bilangan<br />
Bilangan = Array(&#8220;&#8221;, &#8221; Satu&#8221;, &#8221; Dua&#8221;, &#8221; Tiga&#8221;, &#8221; Empat&#8221;, &#8221; Lima&#8221;, &#8221; Enam&#8221;, &#8221; Tujuh&#8221;, &#8221; Delapan&#8221;, &#8221; Sembilan&#8221;)<br />
If Rp &gt;= 100 Then<br />
If Left(Rp, 1) = 1 Then Konversi = &#8221; seratus&#8221; Else Konversi = Konversi &amp; Bilangan(Left(Rp, 1)) &amp; &#8221; Ratus&#8221;<br />
Rp = Rp &#8211; (Left(Rp, 1) * 100)<br />
End If<br />
Select Case Rp<br />
Case Is &lt; 10<br />
If Pjg = 4 Then<br />
If Rp = 1 And Pos = 3 Then Konversi = Konversi &amp; &#8221; Seribu&#8221; Else Konversi = Konversi &amp; Bilangan(Rp)<br />
Else<br />
If Rp = 1 And Pos = 3 Then Konversi = Konversi &amp; &#8221; Satu&#8221; Else Konversi = Konversi &amp; Bilangan(Rp)<br />
End If<br />
Case Is = 10<br />
Konversi = Konversi &amp; &#8221; Sepuluh&#8221;<br />
Case Is = 11<br />
Konversi = Konversi &amp; &#8221; Sebelas&#8221;<br />
Case 12 To 19<br />
Konversi = Konversi &amp; Bilangan(Right(Rp, 1)) &amp; &#8221; Belas&#8221;<br />
Case Else<br />
Konversi = Konversi &amp; Bilangan(Left(Rp, 1)) &amp; &#8221; Puluh&#8221;<br />
If Right(Rp, 1) &gt; 0 Then Konversi = Konversi &amp; Bilangan(Right(Rp, 1))<br />
End Select<br />
End Function</p></blockquote>
<p>5. Karena di atas nama fungsinya menggunakan nama Terbilang, maka untuk mengaktifkannya kita tinggal mengetikkan rumus</p>
<blockquote><p>=Terbilang(NamaCell)</p>
<p>Untuk Menambahkan Rupiah di Belakang</p>
<p>=Terbilang(NamaCell) &amp; &#8221; Rupiah&#8221;</p></blockquote>
<p>Voila ! Sudah jadi kan? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chan1990.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chan1990.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chan1990.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chan1990.wordpress.com&amp;blog=4786730&amp;post=64&amp;subd=chan1990&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chan1990.wordpress.com/2011/06/30/spelling-number-with-ms-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8e9425d13b0336bfc327164cd2aea962?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chan chan</media:title>
		</media:content>

		<media:content url="http://chan1990.files.wordpress.com/2011/06/excel.png" medium="image">
			<media:title type="html">excel</media:title>
		</media:content>

		<media:content url="http://chan1990.files.wordpress.com/2011/06/vba.png" medium="image">
			<media:title type="html">vba</media:title>
		</media:content>
	</item>
	</channel>
</rss>
