Gamexeon.com : Situs, Portal dan Forum Komunitas PC, Online, Handheld, dan Video Games Indonesia home
Gamexeon.com : Situs, Portal dan Forum Komunitas PC, Online, Handheld, dan Video Games Indonesia Logo


Computer Science Programming, System Design, etc


Selamat datang di Gamexeon Forum !

Saat ini kamu sepertinya masih menjadi tamu saja yang hanya dapat memanfaatkan situs ini secara terbatas. Dengan bergabung bersama kami, kamu dapat menanyakan semuanya mulai dari panduan sebuah game sampai utak atik game dan hardware. Banyak fitur lain seperti blogging, fasilitas realtime feeds, video post, poll dan lain sebagainya sebagai sarana diskusi juga disertakan dan siap digunakan oleh siapapun. Registrasinya cepet dan gampang kok, nggak bertele tele, makanya itu daftar sekarang!

Kalo ada masalah mengenai pendaftaran dan lain sebagainya, hubungi kami segera.
Kalau mau lihat index forum aktif yang sedang melakukan diskusi, kamu bisa klik disini .
Kalau mau tau apa saja yang sedang berlangsung di GX secara realtime, kamu bisa klik Newpost. Nggak usah di tutup lagi, nanti dia update sendiri :)

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#1 (permalink))
Antony (Offline)
Member
Antony is an unknown quantity at this point
 
Posts: 67
Join Date: Nov 2003
Rep Power: 5
Points: (Donate)


Points: 4,621, Level: 7
Points: 4,621, Level: 7 Points: 4,621, Level: 7 Points: 4,621, Level: 7
Level up: 75%, 329 Points needed
Level up: 75% Level up: 75% Level up: 75%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Post tanya tentang macro programming VBE di excel..ada yg bs bantu? - 08-05-07, 17:05

gue lagi ada project neh guys, gue diminta bikin calculator BMI di excel pake macro programming, ada yang ngerti macro programming gak?

brief singkat ttg nih project kaya gini
Body Mass Index
The Body Mass Index (BMI) is a figure that estimates how well a adult person's weight matches norms. It is a simple calculation using mass (m) in kilograms and height (h) in metres:

BMI = m / h2

dan kriterianya
he BMI value determines the person's weight classification. Although there are a few variations on this, use the following rules:

Criterion Classification
BMI less than 18.5 Underweight
BMI at least 18.5 but less than 25 Normal
BMI at least 25 but less than 30 Overweight
BMI at least 30 Obese

ini template workbooknya
RapidShare: 1-Click Webhosting

thanks banget yang udah bisa bantuin gue masih baru bro di dunia programming, dan merasa stuck untuk program ini, ada yang bisa bantu? sekali lagi thanks guys yang udah bantuin....


JUST BE YOURSELF !
   
Reply With Quote

Sponsored Links

Old
  (#2 (permalink))
ZeAL (Offline)
Moderator
ZeAL is on a distinguished roadZeAL is on a distinguished roadZeAL is on a distinguished road
 
ZeAL's Avatar
 
Posts: 677
Join Date: Jul 2005
Location: Antara langit dan bumi...
Rep Power: 6
Points: (Donate)


Points: 9,880, Level: 10
Points: 9,880, Level: 10 Points: 9,880, Level: 10 Points: 9,880, Level: 10
Level up: 92%, 170 Points needed
Level up: 92% Level up: 92% Level up: 92%
Activity: 31%
Activity: 31% Activity: 31% Activity: 31%

08-05-07, 17:42

duww.. pindahin ke gudangupload.com aja donk.. ribet nih kalo pake rapishare..




MonyetPinter.com | FJBex.com | ikasema.org | do i know you?
   
Reply With Quote
Old
  (#3 (permalink))
white_tiger (Offline)
Gamexeon Boss
white_tiger will become famous soon enoughwhite_tiger will become famous soon enoughwhite_tiger will become famous soon enoughwhite_tiger will become famous soon enough
 
white_tiger's Avatar
 
Posts: 5,593
Join Date: Jun 2005
Location: Sidoarjo
Rep Power: 17
Points: (Donate)


Points: 49,844, Level: 23
Points: 49,844, Level: 23 Points: 49,844, Level: 23 Points: 49,844, Level: 23
Level up: 36%, 2,906 Points needed
Level up: 36% Level up: 36% Level up: 36%
Activity: 35%
Activity: 35% Activity: 35% Activity: 35%

08-05-07, 19:02

hmm klo isinya di A1 ama A2..... trus keluar hasilnya di A3, gw masih bisa bikinnya
tapi klo itu........

btw, u kul dimane sekarang ?



Inet is my campus, Google is my teacher, Wikipedia is my book - Iwe 2007
Nothing can make money as good as money itself - Iwe 2008

jangan ngejunk selain di freechat
   
Reply With Quote
Old
  (#4 (permalink))
Antony (Offline)
Member
Antony is an unknown quantity at this point
 
Posts: 67
Join Date: Nov 2003
Rep Power: 5
Points: (Donate)


Points: 4,621, Level: 7
Points: 4,621, Level: 7 Points: 4,621, Level: 7 Points: 4,621, Level: 7
Level up: 75%, 329 Points needed
Level up: 75% Level up: 75% Level up: 75%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

09-05-07, 04:40

sorry bro macan putih...dah lama gak kontak2....skarang kul di unsw.....declarationnya ribet neh, ama untuk konvert satuannya dari kg ke lbs & dari centi ke feet and inch aja g gak bs...kalo yang asli vb seh masih mendingan bwt gue... btw bro zeal ini dah g pindahin ke gudang upload
Download File
highly appreciated


JUST BE YOURSELF !
   
Reply With Quote
Old
  (#5 (permalink))
ZeAL (Offline)
Moderator
ZeAL is on a distinguished roadZeAL is on a distinguished roadZeAL is on a distinguished road
 
ZeAL's Avatar
 
Posts: 677
Join Date: Jul 2005
Location: Antara langit dan bumi...
Rep Power: 6
Points: (Donate)


Points: 9,880, Level: 10
Points: 9,880, Level: 10 Points: 9,880, Level: 10 Points: 9,880, Level: 10
Level up: 92%, 170 Points needed
Level up: 92% Level up: 92% Level up: 92%
Activity: 31%
Activity: 31% Activity: 31% Activity: 31%

09-05-07, 10:43

Mudah2an ini yang lo mau..
Code:
    Dim berat As Variant
    Dim tinggi As Variant
    Dim BMI As Variant
            
    If ActiveSheet.Cells(2, 3).Value = "kg" Then
     berat = ActiveSheet.Cells(2, 2).Value
    Else
     berat = ActiveSheet.Cells(2, 2).Value * 2.20462262
    End If
    
    
    If ActiveSheet.Cells(2, 7).Value = "cm" Then
     tinggi = ActiveSheet.Cells(2, 5).Value + (ActiveSheet.Cells(2, 6).Value * 0.1)
    Else
     tinggi = (ActiveSheet.Cells(2, 5).Value + (ActiveSheet.Cells(2, 6).Value * 0.1)) * 3.2808399
    End If
    
    
    BMI = (berat / (tinggi * 2)) * 100
    ActiveSheet.Cells(2, 9).Value = BMI
    
    If BMI < 18.5 Then ActiveSheet.Cells(2, 10).Value = "Underwight"
    If BMI >= 18.5 And BMI < 25 Then ActiveSheet.Cells(2, 10).Value = "Normal"
    If BMI >= 25 And BMI < 30 Then ActiveSheet.Cells(2, 10).Value = "Overwight"
    If BMI >= 30 Then ActiveSheet.Cells(2, 10).Value = "Obese"
Oia, rumusnya kurang dikali 100 yah? soalnya kalo gak dikali 100, hasilnya 0,xxx.. (nol koma sekian-sekian..)


download attachment filenya...
Attached Files
File Type: zip BMI(2).zip (17.7 KB, 3 views)




MonyetPinter.com | FJBex.com | ikasema.org | do i know you?
   
Reply With Quote
Old
  (#6 (permalink))
Antony (Offline)
Member
Antony is an unknown quantity at this point
 
Posts: 67
Join Date: Nov 2003
Rep Power: 5
Points: (Donate)


Points: 4,621, Level: 7
Points: 4,621, Level: 7 Points: 4,621, Level: 7 Points: 4,621, Level: 7
Level up: 75%, 329 Points needed
Level up: 75% Level up: 75% Level up: 75%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

10-05-07, 10:35

thanks bro btw, masih rada bingung neh kenapa declarenya as variant ngebedain ama string gmana? terus rumus yang bro tulis
BMI = (berat / (tinggi * 2)) * 100
emang harus di kali 2 ya bukan di pangkat 2 (^2)
bingung neh bro....terus kalo kita pengen misalnya kalo kita ganti berat dari pounds ke kg langsung konvert otomatis, begitu juga dengan tinggi dari cm ke feet pengen otomatis commandnya gmana? thanks anyway bro Zeal
oh ya bro Zeal, mau nanya juga neh kalo gw run dry test, ada debug misstype match neh ane attach screenshot
Attached Images
File Type: jpg debug.jpg (20.0 KB, 3 views)


JUST BE YOURSELF !

Last edited by Antony; 10-05-07 at 10:42.
   
Reply With Quote
Old
  (#7 (permalink))
ZeAL (Offline)
Moderator
ZeAL is on a distinguished roadZeAL is on a distinguished roadZeAL is on a distinguished road
 
ZeAL's Avatar
 
Posts: 677
Join Date: Jul 2005
Location: Antara langit dan bumi...
Rep Power: 6
Points: (Donate)


Points: 9,880, Level: 10
Points: 9,880, Level: 10 Points: 9,880, Level: 10 Points: 9,880, Level: 10
Level up: 92%, 170 Points needed
Level up: 92% Level up: 92% Level up: 92%
Activity: 31%
Activity: 31% Activity: 31% Activity: 31%

10-05-07, 11:05

Gue set variant soalnya gue lupa tipe data untuk desimal di VB.. hehe.. dah bertahun2 gak megang VB lagi soalnya.. Jadi pake variant biar dia otomatis menyesuaikan sendiri..

Owalah.. dipangkat 2 yah.. gue pikir di kali 2..
ya udah.. tinggal ganti aja jadi BMI = (berat / (tinggi * tinggi))
Dan kalo gitu gak usah dikali 100 lagi..

Kalo untuk biar otomatis berubah misal dari feet ke cm, errr... mungkin bisa cari di event combobox nya.. tapi sayang gue gak tau.. blon pernah coba..
Coding ini juga gue kira2 doank.. Sebelumnya gak pernah nyoba di VBA..

Soal yang error.. err.. gak tau dah.. itu kan bukan kode gue.. kode gue cuma yang di button click doank..

Biasanya error type missmatch muncul kalo lo mau melakukan perhitungan matematis antara angka dengan string..

Eh, gimana kalo diskusi ini pindah ke devsquare.org.. jadi bisa sekalian ngeramein disana..




MonyetPinter.com | FJBex.com | ikasema.org | do i know you?
   
Reply With Quote
Old
  (#8 (permalink))
Antony (Offline)
Member
Antony is an unknown quantity at this point
 
Posts: 67
Join Date: Nov 2003
Rep Power: 5
Points: (Donate)


Points: 4,621, Level: 7
Points: 4,621, Level: 7 Points: 4,621, Level: 7 Points: 4,621, Level: 7
Level up: 75%, 329 Points needed
Level up: 75% Level up: 75% Level up: 75%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

10-05-07, 17:48

ok my pleasure..moved to devsquare


JUST BE YOURSELF !
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS