Twitter

Rabu, 03 Oktober 2012

Macro Pada MS. Excel ( Matriks )

gambar 1.1

Isi angka-angka sesuian Baris & Kolom pada Gambar..!!

gambar 1.2
pastekan coding : 
Dim a(10, 10), B(10, 10), C(10, 10)
For I = 1 To 2
For J = 1 To 2
a(I, J) = Cells(1 + I, 1 + J)
B(I, J) = Cells(1 + I, 4 + J)
C(I, J) = a(I, J) + B(I, J)
Cells(4 + I, 2 + J) = C(I, J)
Next J
Next I

seperti pada gambar : 
gambar 1.3
lalu RUN/Compile Program tersebut..!!

gambar 1.4
inilah hasil/Outputnya..!! Terima Kasih :D God Bless You O:)

0 komentar:

Posting Komentar

Template by:

Free Blog Templates