Untuk praktikum kali ini kita akan belajar membuat MACRO pada
aplikasi Microsoft EXCELL. Ikuti Langkah-Langkah Praktikum di bawah
ini, dan jawablah setiap pertanyaan yang ada selama praktikum
berlangsung :
Sub macro1()
End Sub
Sub macro2()
keluar = 0
Do
isi = ActiveCell.Value
If isi = Empty Then
keluar = 1
Else
If isi Mod 2 = 0 Then
ActiveCell.Font.Color = vbRed
Else
ActiveCell.Font.Italic = True
End If
End If
Selection.Offset(1, 0).Select
End Sub
PRAKTIKUM
Sub macro3()
AlamatSelSekarang = ActiveCell.Address
Selection.End(xlUp).Select
Akhir = ActiveCell.Address
Selection.End(xlUp).Select
Awal = ActiveCell.Address
End Sub
a. inputbox ..........................................................................................
b. Selection.Offset(1, 0).Select ...................................................
c. ActiveCell.Font.Color = vbRed ..............................................
d. ActiveCell.Address .....................................................................
e. ActiveCell.Value ..........................................................................