Membuat form input jual beli di Excel (dengan macro)

Last updated on March 19th, 2021 at 06:21 am

Halaman ini adalah kelanjutan dari halaman sebelumnya, yakni “Membuat Pivot Table hutang piutang dan stok di Excel“. Jadi setelah pak Adi membuat Pivot Table di halaman “PDHD” dan halaman “STOK”, selanjutnya dia membuat form input jual beli di Excel yang dia buat di halaman baru, halaman “JualBeli”. Disini pak Adi menggunakan ActiveX controls dalam pembuatan form nya. Kegunaan form ini adalah untuk meng-input transaksi jual beli ke data utama.

Membuat Form di halaman Excel

1. Membuat tampilan “mentah” User Form

Pertama tama pak Adi membuat halaman baru dengan nama “JualBeli”. Pada halaman ini, design mentah User Form yang pak Adi buat seperti terlihat dibawah gambar ini.

Cell E1, berisi rumus =TODAY()
Cell E7 isi rumusnya =C7*D7
Cell E17 isi dengan rumus =SUM(E7:E16)
Kopi rumus yang terdapat di cell E7, lalu paste ke range E8:E16.
Hasilnya seperti yang terlihat pada gambar diatas.

2. Membuat Text Box dan List Box untuk User Form

Masih di halaman “JualBeli”, pada tab Developer, klik segitiga kebawah di tombol Insert, lalu pilih ActiveX control yang bernama Text Box.

Selanjutnya, buat Text Box tsb di halaman “JualBeli” dengan cara klik cell apapun di halaman, klik tombol Properties, lalu di Properties window, ketik CARI di kolom (Name). Lanjutkan dengan memilih List Box ActiveX control, buat List Box nya di halaman yang sama dan dengan cara yang sama seperti sebelumnya (meng-klik cell apapun di halaman), lalu ketik ListNama di Properties windownya. Seperti yang terlihat pada animasi dibawah ini.

3. Membuat tombol tombol untuk User Form

Berikutnya pak Adi membuat tombol tombol yang dia perlukan di Form. Yang pertama adalah tombol PD untuk transaksi penjualan (piutang dagang). Ini kali pak Adi memilih ActiveX control Command Button.

Klik Insert, klik CommandButton control, buat tombolnya di halaman, lalu di Properties window, ketik PD untuk (Name) dan ketik PD untuk Caption.

Buat lima buah tombol lagi, dimana “Properties”nya masing masing adalah sbb :

(Name)Caption
HDHD
ItemItem
Kas_BonKAS / BON
BARUBARU
InputKeDataInput Ke Data

Dibawah ini adalah tampilan halaman “JualBeli” setelah pak Adi membuat 1 buah TextBox, 1 buah ListBox, dan 6 buah CommandButton.

Tidak apa apa tampilannya masih berantakan, karena nanti size dan posisi masing masing control-nya akan diatur melalui kode macro.

Adapun fungsi dari masing masing ActiveX control tsb adalah sbb :

ControlFUNGSI
PDTransaksi penjualan – mengarahkan ke daftar nama Customer
HDTransaksi pembelian – mengarahkah ke daftar nama Supplier
ItemKeluar/Masuk stok – mengarahkan ke daftar nama item
Kas / BonOpsi toggle button untuk transaksi cash atau nge-bon
TextBox CARITempat mengetik apa yang mau dicari
ListBox ListNamaMenampilkan daftar nama berdasarkan yang diketik di kotak CARI
BARUInput apabila ada PD/HD/Item baru
InputKeDataInput Ke data utama di halaman DATA

Selesai sudah pak Adi membuat form input jual beli di Excel. Pada halaman berikutnya, pak Adi membuat kode kode macro yang diperlukan seturut dengan fungsi fungsi yang dia harapkan pada setiap ActiveX control yang baru saja dia buat tsb.

Apabila ada pembaca yang tidak jelas ataupun ada yang ingin ditanyakan terkait topik ini, silahkan tulis di kolom Comment. Saya akan berusaha untuk bisa menjawabnya.

231 replies on “Membuat form input jual beli di Excel (dengan macro)”

I am now not positive the place you’re getting your information, howevergreat topic. I needs to spend some time learning much more or understandingmore. Thanks for wonderful information I used to be lookingfor this information for my mission.

Thanks , I’ve lately been hunting for information regarding this subject matter for a very long time and yours is the greatest I’ve identified thus far. But, How about the summary? Do you think you’re guaranteed concerning the resource?

Hmm is anyone else encountering problems with the images on this blog loading? I’m trying to figure out if its a problem on my end or if it’s the blog. Any suggestions would be greatly appreciated.

Excellent post. I was checking continuously this blog and I am impressed!Extremely helpful info specially the last part 🙂 I care forsuch information much. I was looking for this certain infofor a very long time. Thank you and best of luck.

I would like to thank you for the efforts you’ve put in penning this blog. I’m hoping to see the same high-grade blog posts by you in the future as well. In truth, your creative writing abilities has inspired me to get my very own blog now 😉

ผมชอบเล่นกับ คาสิโนออนไลน์ ระบบเจ๋ง ชอบสุดน่าจะเป็นระบบฝากถอนแบบอัตโนมัติ ไม่มีขั้นต่ำ เพราะเมื่อก่อนผมเคยเล่นเว็บอื่นเวลาฝากก็ต้องแจ้งพนักงานตอนถอนก็ต้องแจ้งพนักงาน ทำให้เสียเวลาเสียอารมณ์ จริงๆ ครับ

Very nice post. I just stumbled upon your blog and wished to say that I’ve really enjoyed surfing around your blog posts. In any case I?ll be subscribing to your feed and I hope you write again soon!

A fascinating discussion is definitely worth comment. I believe that you need to write more about this issue, it may not be a taboo matter but usually folks don’t speak about these subjects. To the next! Many thanks!!

My brother recommended I’d such as this blog. He was the moment completely right. This put up really manufactured my working day. You may not visualize simply how a good deal time I had used for this data! Many thanks!

I don’t even know how I stopped up here, however I assumed this post wasgood. I do not understand who you’re but definitely you’re going to a famous blogger when you aren’t already.Cheers!

I’m still learning from you, but I’m improving myself. I certainly liked reading everything that is written on your blog.Keep the information coming. I liked it!

Hey there just wanted to give you a quick heads up and let you know a few of the pictures aren’tloading properly. I’m not sure why but I think its a linkingissue. I’ve tried it in two different browsers and both show the same outcome.

I haven’t checked in here for some time because I thought it was getting boring, but the last few posts are good quality so I guess I will add you back to my daily bloglist. You deserve it my friend 🙂

Greetings! I know this is somewhat off topic but I was wondering if you knew whereI could locate a captcha plugin for my comment form?I’m using the same blog platform as yours and I’m havingdifficulty finding one? Thanks a lot!

hi!,I like your writing very much! share we communicate more about your article on AOL? I require an expert on this area to solve my problem. May be that’s you! Looking forward to see you.

Hey There. I found your blog the use of msn. That is a really neatly written article. I will make sure to bookmark it and come back to learn extra of your useful info. Thank you for the post. I’ll certainly comeback.

Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

An impressive share! I have just forwarded this onto a colleague
who was doing a little research on this. And he in fact ordered me breakfast because I found it for
him… lol. So let me reword this…. Thank YOU for the
meal!! But yeah, thanx for spending time to discuss this subject here on your web
site.

Artikel yang sangat bermanfaat untuk mengelola data jual beli dengan Excel. Kalau ingin membuat presentasi data yang lebih menarik dan dinamis, coba gunakan tools yang bisa mengubah foto menjadi video secara otomatis. Sangat membantu untuk visualisasi laporan penjualan!

Terima kasih atas tutorial yang sangat detail ini! Setelah membuat form input jual beli di Excel, saya juga sering membuat video presentasi untuk laporan penjualan agar lebih mudah dipahami oleh tim. Kalau teman-teman butuh tools AI untuk mengubah data spreadsheet menjadi video animasi yang menarik, bisa coba Voe Ai untuk visualisasi data yang lebih dinamis.

Leave a Reply

Your email address will not be published. Required fields are marked *