Anda di halaman 1dari 75

Edisi Ebook Pdf

CopyRight @Desember2019
PENGANTAR VBA

Kata & Istilah


Dalam VBA
VISUAL BASIC OF APLICATION

082 396 256 527


1 Buku Kata & Istilah Dalam VBA
PENGANTAR

Kata & Istilah


Dalam VBA
Buku kami ini susun dari berbagai Sumber sebagai Panduan Singkat
bagi pemula untuk dapat mengenal Kosa Kata dasar Dalam Visual Basic of
Aplication ( VBA)
Sudah Tentu buku ini sangat jauh dari yang diharapkan. Namun kami berharap
semoga sedikit dapat membantu dalam Dalam Belajar Mendalami Microsof
khususnya Excel VBA
Kerja Anda Kritik dan Saran Membangun selalu kami Harapkan
Semoga buku dapat bermanfaat
Penyusun
Hormat Kami

I PUTU ASANA
WA 082 396 256 527
asanaputu@gmail.com
2 Buku Kata & Istilah Dalam VBA
Pengertian develover
Developer Tab adalah tampilan menu Ribbon di Microsoft Office yang berisi menu-
menu digunakan untuk melakukan aktivitas pembuatan program menggunakan
Makro maupun VBA (Visual Basic for Application).

Langkah-langkah untuk Mengaktifkan Developer Tab


1. Jalankan aplikasi Microsoft Excel
2.Klik Option di sebelah kiri untuk memunculkan dialog Excel Options
Mengaktifkan tab Developer pada toolbar Microsoft Excel yaitu :
klik pada office button sebelah kanan lalu klik tombol Excel Option dan pilih
popular dan centang Show Developer Tab in Ribbon
kemudian klik tombol OK Selesai

3 Buku Kata & Istilah Dalam VBA


.4 Buku Kata & Istilah Dalam VBA
3.Rekor Macro
Saat Tab Developer sudah aktif, maka Anda sudah bisa membuat Macro.
Cara termudah membuat Macro adalah dengan menggunakan fitur perekaman
Berikut langkah‐langkah untuk membuat Macro menggunakan fitur perekaman:
1.Buatlah workbook baru Kemudian save as format xlsm atau binary

5 Buku Kata & Istilah Dalam VBA


Proses Merekam Macro
Selama di dalam mode Record Macro, Anda bisa mengerjakan tugastugas
tertentu yang nanti bisa diulang‐ulang terus sesuai kebutuhan.
Berikut contoh aktivitas yang bisa direkam menggunakan Macro:

1. Mulailah dengan mengetik teks di dalam sel A1.

6 Buku Kata & Istilah Dalam VBA


Menulis teks

2. Klik sel D1.


3. Di dalam sel tersebut, ketik fungsi sederhana berikut ini:
=TODAY().

Memasukkan tanggal dengan memanfaatkan formula

4. Klik lagi sel D1 tempat fungsi itu ditulis. Lantas, klik‐kanan


dan pilih ikon untuk mengubah warna teks menjadi merah
5. Kembalilah lagi ke dalam Tab Developer dan kali ini,
klik ikon Stop Recording.

Macro Hasil Perekaman


Macro yang telah selesai direkam itu kini bisa “diputar ulang”. Untuk
mengecek Macro yang tadi telah Anda buat,

Klik ALT + F11 Akan Tampil Jendela Visual Basic Properti


Klik Modul “ belajarMacro” akan tampil Kode VBA yang baru kita buat

7 Buku Kata & Istilah Dalam VBA


4. Menempatkan Kode Perintah Macro

Kode VBA atau Macro adalah Kode Perintah dalam Bahasa Program basic atau
bahasa yang dibuat untuk dipahami oleh Komputer
Selanjutnya Kita akan Menempatkan Kode Perintah yang di dikenal dengan Kode
Macro Sesuai Jenis Perintah yang akan kita buat !

Menempatkan Kode Macro

Kode Macro dapat disimpan pada Wookbook, Wooksheets, Userform atau pada
Modul sesuai jenis perintah yang akan dijalankan

Penjelasan :

1.Perintah yang disimpan pada Wookbook akan berjalan


Otomatis saat sebuah Wookbook aktif atau saat dibuka atau pula sebelum
Wookbook ditutup
8 Buku Kata & Istilah Dalam VBA
contoh perintah Workbook diawali dengan :

Private Sub Workbook_Open()


……perintah macro……..
End Sub

2.Perintah yang disimpan pada Wooksheets akan berjalan Otomatis saat sheets
yang diberi Kode aktif

contoh perintah Worksheets diawali dengan :

Private Sub Worksheet_Change(ByVal Target As Range)


……perintah macro……..
End Sub

3.Perintah yang disimpan pada UserForm akan berjalan Saat UserForm


di Tampilkan
contoh perintah pada UserForm diawali dengan :
9 Buku Kata & Istilah Dalam VBA
Private Sub UserForm_Initialize()
……perintah macro……..
End Sub

Contohnya :
Private Sub UserForm_Initialize()
ComboBox1.List = Application.Transpose(Sheet1.Range("D5:P5").Value)
ComboBox2.AddItem "GANJIL"
ComboBox2.AddItem "GENAP"
ComboBox3.List = Sheet1.Range("B5:B20").Value
ComboBox4.List = Sheet1.Range("C5:C20").Value
End Sub

4.Perintah yang disimpan pada Modul akan berjalan Saat Modul tersebut dipanggil.
contoh perintah pada UserForm diawali dengan :

Sub Copy_data ()
……perintah macro……..
End Sub
10 Buku Kata & Istilah Dalam VBA
Membuat Tombol perintah pada Modul

11 Buku Kata & Istilah Dalam VBA


Kata & Istilah
Dalam VBA

VBA : Visual Basic of Application


VBA : Macro
Macro Scurity Pengaturan Macro
Enable macro Macro Aktif
Disable macro Macro belum aktif
Record macro Merekam Macro
Open : buka
Save : simpan
SaveAs : simpan sebagai
:
Close : Tutup
:
Workbook : Buku kerja atau file excel
12 Buku Kata & Istilah Dalam VBA
:
ActiveWorkbook : buku kerja aktif
:
Workbook_Open : buka buku kerja
:
ThisWorkbook.Save : Simpan buku kerja
:
ActiveWorkbook.SaveAs : Simpan sbg Save As
Filename:=”budi.xlsm”
:
ActiveWorkbook.SaveAs : Simpan sbg Save As ke dokumen C
Filename:=”C:\Data\SalesData1.xlsx”
:
ThisWorkbook.Close : Tutup buku kerja
:
Application.Quit : Tutup aplikasi
:
Private Sub : Prosedur Khusus utk sebuah objek
:
13 Buku Kata & Istilah Dalam VBA
Private Sub Workbook_Open() : Auto saat Workbook_Open
:
Private Sub : Auto sebelum Workbook close
Workbook_BeforeClose(Cancel As
Boolean)
:
Private Sub Workbook_Deactivate() : Auto sebelum Workbook close
:
Private Sub : Auto sebelum Workbook save
Workbook_BeforeSave(ByVal SaveAsUI
As Boolean, Cancel As Boolean)
:
Private Sub Workbook_Open() : Auto saat Workbook_Open
:
Private Sub UserForm_Initialize() : Perintah auto userform property
:
Private Sub UserForm_Activate() : Perintah auto userform aktif
:
Private Sub ComboBox2_Change() : Perintah auto ComboBox2 di klik
14 Buku Kata & Istilah Dalam VBA
:
Private Sub Textbox1_Change() : Perintah auto Textbox1 di klik
:
Private Sub MultiPage1_Change() : Perintah auto MultiPage1 di klik
:
Private Sub ScrollBar1_Change() : Perintah auto ScrollBar di klik
:
Private Sub SpinButton1_Change() : Perintah auto SpinButton1 di klik
:
Private Sub CheckBox1_Click() : Perintah auto CheckBox di klik
:
Private Sub Image1_Click() : Perintah auto Image1 di klik
:
Private Sub Label1_Click() : Perintah auto Label1 di klik
:
Private Sub ListBox1_Click() : Perintah auto ListBox1 di klik
:
Private Sub ToggleButton1_Click() : Perintah auto ToggleButton1 di klik
:
15 Buku Kata & Istilah Dalam VBA
Private Sub UserForm_Click() : Perintah auto UserForm di klik
:
Label : Label tampilan text
:
Caption : Isi atau Label pada tollboxt
:
Label1.Caption = “Selamat Belajar VBA” : Menggunakan Caption
:
CommandButton2. Caption = “Input : Menggunakan Caption
Data”
:
OptionButton1.Caption = "Male" : Menggunakan Caption
:
TextBox1.Value : Menggunakan Value
:
ComboBox1.Value : Menggunakan Value
:
xlDialogOpen : Jendela pengaturan di excel
:
16 Buku Kata & Istilah Dalam VBA
Application.Dialogs(xlDialogOpen).Show : Jendela Buka dokumen
:
Application.Dialogs(xlDialogPrint).Show : Jendela print dialog
:
Application.Dialogs(xlDialogSaveAs).Sho : Jendela save as dialog
w
:
Application.Visible = True : Sembuyikan lembar Kerja =true
:
Application.Visible = False: : Jangan sembunyikan lembar Kerja =
False
:
Private Sub Worksheet_SelectionChange : Perintah otomatis pada sheet active
:
Sheets("Sheet1").Range("A1") = "Belajar : Sheets("Sheet1").Range("A1") =
VBA" "Belajar VBA"
:
SelectionChange : SelectionChange
:
17 Buku Kata & Istilah Dalam VBA
Range("A1") = "Belajar VBA" : Range("A1") = "Belajar VBA"
:
Font.FontStyle = "Italic" : Jenis Text
:
Worksheet : Lembar kerja atau sheet
:
Worksheet(“sheet1”) : Nama sheet = sheet1
:
Worksheet(“Data”) : Nama sheet = data
:
sheet1 : Sheet yang pertama
:
Sheet2 : Sheet yang ke dua
:
Sheets(“Sheet1”) : Nama Sheetnya Sheet1
:
Sheets(“Sheet2”) : Nama Sheetnya Sheet2
:
Sheets(“Data”) : Nama Sheetnya Data
18 Buku Kata & Istilah Dalam VBA
:
Sheest(“siswa”) : Nama Sheetnya siswa
Sheet(“Sheet1”) : Nama Sheetnya Sheet1
Count : hitung
:
Sheets.Count : Semua jumlah Lembar
:
Sheets.Add : Tambah Sheet Baru
:
Sheets(Sheets.Count) : Sejumlah sheet yang ada
:
Sheets.Add : Tambah Sheet Baru
:
Move After : Simpan setelah
:
Sheets(Sheets.Count) : Sejumlah sheet yang ada
:
Sheets.Add.Move : buat Sheet simpan setelah sheet
After:=Sheets(Sheets.Count) akhir
19 Buku Kata & Istilah Dalam VBA
:
Sheets.Add.Move : buat &simpan sebelum sheet akhir
before:=Sheets(Sheets.Count)
:
Sheets("Sheet1").Copy : Sheet1.Copy simpan sesudah sheet
After:=Sheets(Sheets.Count) akhir
:
Sheets("Sheet1").Copy : Sheet1.Copy simpan sebelum sheet
before:=Sheets(Sheets.Count) akhir
:
Sheets("Sheet1").Copy : Sheet1.Copy simpan sesudah sheet5
After:=Sheets("Sheet5")
:
Visible : Sembunyi atau tidak
:
Sheet1.Visible = 2 : Sembunyikan sheet1
:
Sheet2.Visible = 1 : Perlihatkan sheet2
:
20 Buku Kata & Istilah Dalam VBA
Sheets("Sheet1").Visible = xlSheetVeryHidden Sembunyikan sheet1
:
Sheets("Sheet2").Visible = xlSheetVeryHidden Sembunyikan sheet1
Sheets("Sheet2").Visible =xlSheetVisible perlihatkan sheet1
:
Sheets("data").Visible = xlSheetVeryHidden Sembunyikan data
;
Sheets("sekolah").Visible = perlihatkan sheet sekolah
xlSheetVeryHidden
Sheets.Add : Tambah Sheet Baru
:
Private Sub : Prosedur khusus pada sebuah object
:
Private Sub Worksheet_Change : Prosedur utk sebuah worksheet
:
ByVal Target As Range : Untuk target di semua Range
:
Private Sub Worksheet_Change(ByVal : Auto di worksheet Untuk target di

21 Buku Kata & Istilah Dalam VBA


Target As Range) semua Range
:
Private Sub : Auto di worksheet Untuk target di
Worksheet_SelectionChange(ByVal Range Selection
Target As Range)
:
Worksheet : Lembar kerja
:
Worksheet : ‘=sheet1
:
Visible = xlSheetHidden : Sembunyikan sheet
:
For K = 1 To 5 : Dari 1 sampai 5
Sheets(K).Visible = xlSheetHidden : Sembunyikan sheet1
Next : Lanjut sampai sheet5
:
For k = 2 To Sheets.Count : Dari 2 sampai sheet terakhir
Sheets(K).Visible = xlSheetHidden : Sembunyikan sheet2
Next : Lanjut sampai sheet terakhir
22 Buku Kata & Istilah Dalam VBA
:
Set salin = ActiveSheet.Range("a1:a10") : Aktif sheet Area copy
For K = 2 To Sheets.Count : Dari sheet2 sampai sheet terakhir
Set simpan = Sheets(K). Range("a1:a10") : Paste di sheet2
salin.Copy : Copy lalu paste
simpan.PasteSpecial : Paste format value
Paste:=xlPasteValues
Next : Paste berlanjut sampai sheet
terakhir
:
Worksheets(Array(1, 3, 5)).Select : Mode piliha array
Worksheets(3).Activate : Pilih Worksheets(3).
:
Worksheets(Array("data1", "data2", : Mode piliha array
"data3", "data4")).Select
Worksheets("data4").Activate : Pilih Worksheets("data3")
:
For k = 2 To Sheets.Count : Dari 7 sampai sheet akhir
Sheets(k).Range("A1:D20").Copy : Dari 7 sampai sheet akhir copy
23 Buku Kata & Istilah Dalam VBA
Sheet1.Cells(Cells.Rows.Count, : Paste di sheet1 pada baris terakhir
1).End(xlUp).Offset(2, 0).PasteSpecial
Paste:=xlPasteValues
Next k : Lanjut sampai terakhir
:
Copy : Salin
Paste : Tempel
Case : Pilihan kasus
:
Copy Case : Copy sesuai pilihan
:
Select Case [a1] : Acuan Case range a1
Case 1 : Pilihan 1
[a5:c10].Copy Sheet1.[d5] : Area copy dan simpan
Case 2 : Pilihan 2
[a5:c10].Copy Sheet1.[h5] : Area copy dan simpan
End Select : Seleksi sampai terakhir
:
Copy Image : Salin Gambar
24 Buku Kata & Istilah Dalam VBA
:
ActiveSheet.Shapes("Picture 1").Copy : Picture 1 Copy
Set simpan = Sheet1.Range("B5") : simpan di Sheet1.Range("B5")
simpan.PasteSpecial Paste : Picture 1 paste
:
Copy Lastrow : Salin sampai data terbawah
:
Set x = Range("a1:a15") : Area
Set y = Cells(Cells.Rows.Count, : Ke dibaris terakhir
2).End(xlUp).Offset(1)
x.Copy : Area dicopy
y.PasteSpecial Paste:=xlPasteValues : Paste Ke dibaris terakhir
:
Set xx = Range("B2:B13") : Area copy
Set yy = Range("E2") : Area paste
xx.Copy : Copy lalu pastekan
yy .PasteSpecial : Paste format theme tampa text
Paste:=xlPasteAllUsingSourceTheme
yy .PasteSpecial Transpose:=True : Paste format Transfose
25 Buku Kata & Istilah Dalam VBA
yy .PasteSpecial Paste:=xlPasteValues : Paste format Value
yy . Paste:=xlPasteAllUsingSourceTheme, : Paste format semua Tampilan sama
Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False :
:
Range("B5:B15").Copy : Area copy
Range("D5:D15").PasteSpecial : Paste Hanya Warna atau tema
xlPasteFormats
:
Range("A1:A20").copy : Area copy
Range("B1:B20").PasteSpecial : Paste Warna ,Background, Font dan
Paste:=xlPasteAllUsingSourceTheme, tema semua sama persis
Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False :
:
Range : Alamat cell
:
Range(“A1”) : = Cells(1, 1)
:
26 Buku Kata & Istilah Dalam VBA
Cells(1, 1) : ‘= range A1
:
Cells(1, 2) : ‘= range A2
:
Cells(2, 2) : ‘= range B2
:
Cells(1, 1).Value : Nilai pada Cells(1, 1).Value
:
Cell : Alamat Cell
:
Cell Selection End(Xlup) : Sel Seleksi Akhir
:
Cell Last Cell : Sel Seleksi Akhir
:
Cells(1, 1) : Alamat Cell(no baris, no kolom)
:
Cells(1, 1).Value = ComboBox1.Value : isi Range(“A1”)= Isi ComboBox1
:
Cells(1, 2).Value = TextBox2.Value : isi Range(“A2”)= Isi TextBox2
27 Buku Kata & Istilah Dalam VBA
:
Cells(1, 3).Value = Label1.caption : isi Range(“A3”)=Text pada label1
:
ComboBox1.Value = Cells(1, 1).Value : Isi ComboBox1 = isi Range(“A1”)
:
TextBox2.Value = Cells(1, 2).Value : Isi TextBox2 = isi Range(“A2”)
:
Label1.caption = Cells(1, 3).Value : Text pada label1 = isi Range(“A3”)
:
Now() : Tanggal sekarang
:
Cells(1, 1).Value = Now() : 04/12/2019 11:44 : Lengkap
:
Cells(2, 1).Value = Format(Now, "s") : 48 : detik
:
Cells(3, 1).Value = Format(Now, "n") : 44 : menit
:
Cells(4, 1).Value = Format(Now, "h") : 11 : tanggal
:
28 Buku Kata & Istilah Dalam VBA
Cells(5, 1).Value = Format(Now, "m") : 12 : Bulan
:
Cells(6, 1).Value = Format(Now, : Desember : Bulan
"mmmm")
:
Cells(7, 1).Value = Format(Now, "yyyy") : 2019 : tahun
:
Cells(2, 3).End(xlDown).Value : Data Terakhir di kolom 3
:
Range("A2").End(xlDown).Value : Data Terakhir di kolom A
:
Cells(Cells.Rows.Count, : Data Terakhir di kolom A
1).End(xlUp).Value
:
Active Cell Offset : Offset Sel aktif
:
ActiveCell.Offset(5, -3).Select : Turun 5 baris dan kekiri 3 kolom
:
ActiveCell.Offset(-5, 3).Select : Naik 5 baris dan kekanan 3 kolom
29 Buku Kata & Istilah Dalam VBA
:
Active Cell : Sel aktif
:
Color : warna
:
interior : Cell
:
Color interior : warna cell
:
Font. Color : warna Text
:
Index : No urutan
:
Font. ColorIndex = 3 : Warna Text = Biru
:
Interior.ColorIndex = 6 : Warna Cell = Kuning
:
ActiveCell. Font. ColorIndex = 3 : Aktif cell Warna Text = Biru
:
30 Buku Kata & Istilah Dalam VBA
ActiveCell. Interior.ColorIndex = 6 : Aktif cell Warna Cell = Kuning
:
ActiveCell. Font. ColorIndex = 3 : Aktif cell Warna Text = Biru
:
ActiveCell. Interior.ColorIndex = 6 : Aktif cell Warna Cell = Kuning
:
ActiveCell = Cells(Cells.Rows.Count, : Activecell = Data Terakhir di kolom
1).End(xlUp).Value 1
:
Activecell = : Activecell = Data Terakhir di kolom
Range("A2").End(xlDown).Value A
:
Activecell = Cells(2, : Activecell = Data Terakhir di kolom
3).End(xlDown).Value 3
:
Dim rng As Range, cell As Range : Prosedur rng dan cell
:
ActiveCell.Value = (ActiveCell.Row & "," & : Alamat Baris dan Alamat Kolom
ActiveCell.Column) Activecell
31 Buku Kata & Istilah Dalam VBA
:
ActiveCell.Value = (ActiveCell.Row) : Alamat Baris Activecell
:
ActiveCell.Offset(2, 0).Select : Dari active cell 2 baris kebawah
:
ActiveCell.EntireRow.Insert : Pada Active cell tambah baris
:
Range("a2").Font.ColorIndex = 3 : Range A2 Warna Text = Biru
:
Range("a2").Interior.ColorIndex = 6 : Range A2 Warna Cell = Kuning
:
Font.FontStyle : Jenis Tex
:
Font.Size : Ukuran Tex
:
Font.ColorIndex : Warna Tex
:
Interior.ColorIndex : Warna cell
:
32 Buku Kata & Istilah Dalam VBA
RowsWidth : Lebar Baris
:
RowsHeight : Tinggi Baris
:
ColoumnWidth : Lebar Kolom
:
ColoumnHeight : Tinggi kolom
:
EntireRow : Lajur Baris
:
EntireColoumn : Lajur Kolom
:
AutoFit : otomatis
:
EntireRow.AutoFit : Tinggi & Lebar Baris otomatis
:
EntireColoumn.AutoFit : Tinggi & Lebar Kolom otomatis
:
With Range("A1") : Untuk range a1
33 Buku Kata & Istilah Dalam VBA
:
.Font.FontStyle = "Italic" : Jenis text italic
:
.Font.Size = 14 : Ukuran tulisan 14
:
.Font.ColorIndex = 2 : Warna tulisan putih
:
.Interior.ColorIndex = 3 : Warna cell merah
:
.RowsWidth =10 : Lebar Baris 10
:
.RowsHeight = 20 : Tinggi Baris 20
:
.ColoumnWidth =30 : Lebar Kolom 30
:
Row.Hidden : Sembunyikan baris jika = true
:
Rows("5"). : Baris Ke -5
:
34 Buku Kata & Istilah Dalam VBA
Rows("5").EntireRow.Hidden = True : Sembunyikan kolom jika = true
:
Rows("7").EntireRow.Hidden = False : tampilkan kolom jika = false
:
EntireRow.Insert : Menambah baris
:
EntireRow.Delet : Menghapus baris
:
Columns(8).Hidden : Sembunyikan kolom 8
:
Columns(8).Hidden = True : Sembunyikan kolom jika = true
:
Columns("F:F").Select : Columns("F:F").Selesi
:
True : True : Kondisi benar
:
False : False : Kondisi salah
:
.ColoumnHeight = 50 : Tinggi kolom 50
35 Buku Kata & Istilah Dalam VBA
:
.EntireRow.AutoFit : Tinggi & Lebar Baris otomatis
:
.EntireColoumn.AutoFit : Tinggi & Lebar Kolom otomatis
:
End with : Mengakhiri with
:
Modul : Prosedur yang dibuat untuk
memanggil sebuah kode perintah
: Modul di awali dengan Sub dan
diakhiri dengan end sub
Sub test () : Memulai suatu prosedur
Range(“a14”).Font. ColorIndex = 3 : Contoh modul
End sub : Mengakhiri suatu prosedur
:
with : Pengganti objec
:
With Range(“a14”) : Kode modul
End with : Mengakhiri with
36 Buku Kata & Istilah Dalam VBA
:
If : jika
:
then : maka
:
else : Namun atau berbalik
:
End if : Mengakhiri if
:
If Range(“a1”).value = 1 then : Jika a1 bernilai 1 maka
Range(“a1”). Interior. ColorIndex = 3 : a2 berwarna merah
ElseIf Range(“a2”).value = 2 then : Bila tidak maka
Range(“a1”). Interior. ColorIndex = 5 : a2 berwarna biru
End if : Mengakhiri if
:
Columns Blank Hidden : Sembunyikan Kolom Kosong
:
For Each x In Prosedur x pada sebuah range
Sheets("Sheet1").Range("A2:d2")
37 Buku Kata & Istilah Dalam VBA
If x.Value = "" Then Jika x bernilai kosong maka
x.EntireColumn.Hidden = True kolom x disembunyikan
End If Mengakhiri if
Next x Lanjut
:
Row Blank Hidden : Sembunyikan baris Kosong
:
Columns Delet : Penghapusan Kolom
:
For Each x In Prosedur x pada sebuah range
Sheets("Sheet1").Range("A2:A20")
If x.Value = "" Then Jika x bernilai kosong maka
x.EntireRows.Hidden = True kolom x disembunyikan
End If Mengakhiri if
Next x Lanjut
:
Columns Hide : Sembunyikan Kolom
:
Columns Unhide : Kolom tidak disembunyikan
38 Buku Kata & Istilah Dalam VBA
:
Columns Insert : Sisipkan / Tambah kolom
:
Row Number : Nomor Baris
:
x=0 : Nomor mulai baris ke 6
:
For No = 1 To 10 dari 1 sampai 10
x=x+1 setiap pengulangan menambah 1
Cells(x + 5, 1).Value = x x dimulai pada baris ke 5 kolom 1
Next No lanjut
:
:
[B6:B15].Formula =
"=CONCATENATE($B$5, $A$5 ,A6)"
:
iRow =ws.Cells(Rows.Count, 1) _ : cari baris kosong pertama di
database
:
39 Buku Kata & Istilah Dalam VBA
.End(xlUp).Offset(1, 0).Row :
:
Range(Selection, : Menuju ke alamat cell spesial paling
ActiveCell.SpecialCells(xlLastCell)).Select awal/atas dan ujung
bawah/terakhir sheet
:
sheetActiveCell.SpecialCells(xlLastCell).S : Menuju ke alamat cell paling ujung
elect bawah/terakhir
:
Selection.End(xlUp).Select ‘atas : Menuju ke alamat cell paling atas
:
Selection.End(xlDown).Select ‘bawah : Menuju ke alamat cell paling bawah
:
Selection.End(xlToLeft).Select ‘kiri : Menuju ke alamat cell paling kiri
:
Selection.End(xlToRight).Select ‘kanan : Menuju ke alamat cell palingkanan
:
Range(Selection,Selection.End(xlUp)).Sel : cell selesi sampai cell paling atas
ect
40 Buku Kata & Istilah Dalam VBA
:
Range(Selection,Selection.End(xlDown)). : cell selesi sampai paling bawah
Select
:
Range(Selection,Selection.End(xlToLeft)) : cell selesi sampai kiri
.Select
:
Range(Selection,Selection.End(xlToRight : cell selesi sampai kanan
)).Select
:
ActiveCell.Offset(5, -3).Select : turun 5 baris dan kekiri 3 kolom
:
ActiveCell.Offset(-3, 4).Select : naik 3 baris dan kekanan 4 kolom
:
Range("A1").NumberFormat = "General" Format cell general
:
Range("A1").NumberFormat = "000" Format cell 3 digit
:
Range("A1").NumberFormat = Format cell dd/mm/yyyy
41 Buku Kata & Istilah Dalam VBA
"dd/mm/yyyy"
:
Range("A1").NumberFormat = "[$- Format cell Tanggal
421]dd mmmm yyyy"
:
Range("A1").NumberFormat = : Currency Mata Uang
"$#,##0.00"
:
Range("A1").NumberFormat = "_($* : Accounting
#,##0.00_);_($* (#,##0.00);_($* ""-
""??_);_(@_)"
:
:
:
Range("A1").NumberFormat = "yyyy- : Date atau Tanggal
mm-dd;@"
:
Range("A1").NumberFormat = "h:mm:ss : Time atau menit
AM/PM;@"
42 Buku Kata & Istilah Dalam VBA
:
Range("A1").NumberFormat = "0.00%" : Percentase %
:
Range("A1").NumberFormat = "# ?/?" : Fraction
:
Range("A1").NumberFormat = : Scientific
"0.00E+00"
:
Range("A1").NumberFormat = "@" : Text atau Hurup
:
Range("A1").NumberFormat = "00000" : Special
:
Range("A1").NumberFormat : Custom
="$#,##0.00_);[Red]($#,##0.00)"
:
Option Explicit : memaksa programmer
mendeklarasikan semua variabel
:
TextBox1.Value = Format textbox1 mata uang
43 Buku Kata & Istilah Dalam VBA
Format(TextBox1.Value, "Rp #,##0")
:
ActiveSheet.Columns(7).Hidden = True : Kolom ke 7 disembunyikan
:
ActiveSheet.Columns(7).Hidden = False : Kolom ke 7 diperlihatkan
:
ActiveSheet.Columns("A:E").Hidden = : Kolom A sd E disembunyikan
True
:
ActiveSheet.Columns("F:J").Hidden = : Kolom A sd E diperlihatkan
False
:
Row.Insert : tambah Baris
:
Range("A1").EntireRow.Insert : tambah Baris di Range A1
:
ActiveCell.Offset(1, : tambah 6 Baris kebawah
0).Resize(6).EntireRow. Insert
:
44 Buku Kata & Istilah Dalam VBA
Row.Delete : hapus Baris
:
Range("A1").EntireRow.Delete : Hapus Baris di Range A1
:
ActiveCell.Offset(1, : Hapus 6 Baris kebawah
0).Resize(6).EntireRow.Delete
:
ActiveCell.EntireRow.AutoFit : Tinggi baris otomatis
:
RowHeight = 15 : Lebar baris =15
:
Coloumn Insert : Tambah Kolom
:
Insert Shift:=xlRight : Tambah kolom kekanan
:
Delete Shift:=xlToLeft : Hapus kolom ke kiri
:
Insert shift:= xlDown : Tambah baris ke bawah
:
45 Buku Kata & Istilah Dalam VBA
Resize(2) : Berulang 2kali
:
ActiveCell.EntireRow.Insert : Tambah 1 baris ke bawah activecell
shift:=xlDown
:
ActiveCell.Resize(2).EntireRow.Insert : Tambah 2 baris ke bawah activecell
shift:=xlDown
:
ActiveSheet.Columns(7).Insert : Tambah Kolom di kolom ke 7
Shift:=xlRight
:
ActiveSheet.Columns("B:C").Insert : Tambah Kolom di kolom B & C
Shift:=xlRight
:
ActiveSheet.Columns(2). Delete : Hapus Kolom di kolom B
Shift:=xlToLeft
:
ActiveSheet.Columns(“B”). Delete : Hapus Kolom di kolom B
Shift:=xlToLeft
46 Buku Kata & Istilah Dalam VBA
:
Target : Sasaran
:
If Target.Column = 1 : Jika target di kolom 1
:
If Target.Column <10 : Jika target di bawah kolom Ke 10
:
If Target.Column > 10 : Jika target di atas kolom Ke 10
:
If Target.Column = 4 Then : Jika target di kolom ke 4 maka
:
If Target.Row = 5 Then : Jika target di baris ke 5 maka
:
If Target.Column > 5 And Target. Column : If & And target kolom
< 40
:
If Target.Row > 5 And Target.Row < 40 : If & And target Baris
Then
:
47 Buku Kata & Istilah Dalam VBA
If Target.Column > 5 OR Target. Column : If & OR target kolom
< 40
:
If Target.Row > 5 OR Target.Row < 40 : If & OR target Baris
Then
:
If Target. Column = 1 And Target.Row < : If & And target baris kolom
40 Then
:
If Target. Column = 1 OR Target.Row < : If & OR target Baris kolom
40 Then
:
Target cell Hyperlink : Hyperlink sesuai cell target
:
If Target.Address = "$A$7" Then : Target klik cell
:
Sheet1.select Jika klik A7 Sheet1.select
:
If Target.Address = "$A$8" Then : Target klik cell
48 Buku Kata & Istilah Dalam VBA
:
Sheet2select Jika klik A8 Sheet2.select
:
Target.Value : Jika target diisi value
:
Private Sub worksheet_change(ByVal : Perintah sub privat pada sebuah
target As Range) worksheet
On Error Resume Next
If Not Intersect(target, [B1:B20,D1:D20])
Is Nothing Then
If Len(target.Value) Then Jika target diisi value maka offset1
atau keluar 1baris diamping akan
tertulis “sudah ditulis
target.Offset(, 1).Value = "Sudah ditulis" Bila dikosongkan maka
Else keluar 1baris diamping akan ikut
kosong juga
target.Offset(, 1).Value = ""
End If
End If
49 Buku Kata & Istilah Dalam VBA
End Sub
:
With ActiveSheet Target klik cell
.Columns("B:AE").Hidden = True Semua rentang kolom B sampai EA
If Target.Address = "$A$2" Then Ditampilkan
.Columns("B").Hidden = False Jika klik A2 maka
ElseIf Target.Address = "$A$3" Then Kolom B disembunyikan
.Columns("C").Hidden = False Tapi Jika klik A3 maka
Else Kolom C disembunyikan
End If
End With
:
Null : Kosong
:
Textbox1.value = "" : Textbox1.value = kosong
:
For i = 1 To 5 : Dari textbox1 sampai 5
.Controls("textbox" & i).Text = "" : Textbox kosongkan
Next : Lanjut sampai textbox5
50 Buku Kata & Istilah Dalam VBA
:
Combobox1.value = "" : Kosongkan Combobox1
:
For i = 1 To 5 : Dari Combobox1 sampai 5
.Controls("Combobox " & i).Text = "" : Combobox kosongkan
Next : Lanjut sampai textbox5
:
Range(“a1”).value = “” : Kosongkan range A1
:
Range(“a1:a20”).value = “” : Kosongkan range A1 sampai A20
:
Texbox null Value : Texbox Nilai null
:
Value Lastrow : Nilai data terakhir
:
Border : Garis tepi / Bingkai cell
:
Border Selection : Seleksi Bingkai
:
51 Buku Kata & Istilah Dalam VBA
Borders.LineStyle = xlContinuous : Bingkai cell
:
Borders(xlInsideHorizontal).LineStyle = : Garis tepi baris
xlDash
:
Borders(xlInsideVertical).LineStyle = : Garis tepi kolom
xlContinuous
:
Sub test () : Contoh Prosedur
:
Range(“a1”).
Borders(xlInsideVertical).LineStyle =
xlContinuous
:
End sub Akhir Prosedur
:
Color Cells : Sel warna
:
Cells(1, 2).Font.ColorIndex = 2 : Range A2 Warna text putih
52 Buku Kata & Istilah Dalam VBA
:
Cells(1, 2).interior.ColorIndex = 3 : Range A2 Warna cell merah
:
Color Clear : hilangkanWarna
:
Color Active Cell : Warna Sel Aktif
:
Combobox Additem : Daftar pilihan Combobox
:
Combobox List : Daftar list Combobox
:
ComboBox1.AddItem "Laki- laki" : ComboBox1.AddItem
ComboBox1.AddItem "Perempuan" :
:
ComboBox1.List = : ComboBox1.list data vertikal
Sheet2.Range("a4:a10").Value
:
ComboBox1.List = : ComboBox1. list data horisontal
Application.Transpose(Sheet1.Range("D
53 Buku Kata & Istilah Dalam VBA
5:F5").Value)
:
For n = 1 To 12 : ComboBox1. list serial bulan
ComboBox1.AddItem :
Format(DateSerial(2011, n, 1),
"mmmm")
Next n :
:
For i = 2018 To 2025 : ComboBox1. list serial tahun
ComboBox3.AddItem i : 2018 - 2025
Next i :
:
For i = 1 To 31 : ComboBox1. list serial angka
ComboBox3.AddItem i : 1 sampai 31
Next i :
:
If ComboBox1.Text = "Sultra" Then : Jika ComboBox1 = "Sultra" maka
ComboBox2.List = : Listnya B5 sampai B20
Sheet1.Range("B5:B20").Value
54 Buku Kata & Istilah Dalam VBA
ElseIf ComboBox1.Text = "Bali" Then : Jika ComboBox1 = "Bali" maka
ComboBox2.List = : Listnya C5 sampai C20
Sheet1.Range("C5:C20").Value
End If :
:
ListBox1.ColumnCount = 3 : Jumlah kolom area
:
ListBox1.ColumnWidths = 50 & ";" & 50 : Lebar kolom masing - masing
& ";" & 150
:
ListBox1.RowSource = ("A6:C50") : Area tampilkan data
:
For k = 2 To Sheets.Count : Dari 2 sampai semua
:
ListBox1.AddItem Sheets(k).Name : Tampilkan data nama sheet
:
Next : Lanjut sampai semua
:
ListBox1.ListIndex : Urutan baris data
55 Buku Kata & Istilah Dalam VBA
:
ListBox2.List(ListBox2.ListIndex, 0) : Urutan data baris teratas
:
ListBox2.List(ListBox2.ListIndex, 1) : Urutan data baris ke 2
:
For k = 0 To ListBox1.ListCount - 1 : Hyperlink sheet selection pada
listbox1
:
If ListBox1.Selected(k) Then : Jika list indek selek
:
Sheets(ListBox1.List(k)).Select : Menuju ke alamat sheetnya
:
End If : Mengakhiri if
:
Next : lanjut
:
ColumnHeads : Kop Tabel di listbox
:
With ListBox1 : With sebagai pengganti
56 Buku Kata & Istilah Dalam VBA
:
.ColumnCount = 3 : Untuk menyingkat dalam penulisan
code
:
.ColumnWidths = "50;50;50" : Lebar kolom masing - masing
:
.ColumnHeads = True : Tampilkan kop tabel
:
Dim x As Variant : Prosedur x sbg Varian
x= Array("Adi", "Nike", "Made") : daftar x = ("Adi", "Nike", "Made”)
Me.ListBox2.List = x : ListBox list = x
:
Me.ListBox3.List = Array("MADE", : Penggunaan array untuk data
"YOGA", "ARYA")
:
X= : ListBox2.ListIndex data terbawah
Application.CountA(Range("c6:c100")) sesuai isian data
:
ListBox1.ListIndex = X – 1 : Nilai x -1
57 Buku Kata & Istilah Dalam VBA
:
ListBox1.ListIndex = [a1] - 1 : ListIndex sesuai Range A1
:
String : text
:
Upper : Konversi ke Hurup Besar Semua
:
Lower : Konversi ke Hurup Kecil Semua
:
Proper : konversi ke Hurup besar dan Kecil
:
Textbox2= Left(textbox1, 5) : Ambil 5 Karakter dari Kiri
Textbox3= Mid(textbox1, 3, 4) : Ambil 4 Karakter Tengah dari Kiri 3
Karakter
Textbox4 = Right(textbox1, 5) : Ambil 5 Karakter dari kanan
Textbox5 = Len(textbox1) : Hitung jumlah Karakter
Textbox6= LCase(textbox1) : Conversi semua ke hurup kecil
Textbox7 = UCase(textbox1) : Conversi semua ke hurup kecil

58 Buku Kata & Istilah Dalam VBA


[C1].Formula = "= Upper (B1)" : Formula Upper
:
[C1].Formula = "= Lower (B1)" : Formula Lower
:
[C1:c10].Formula = "= Lower (B1)" : Formula lower
:
[C1].Formula = "= Proper (B1)" : Formula Proper
:
[C1:c20].Formula = "= Proper (B1)" : Formula Proper
:
Count : Menghitung / hitung semua
:
Columns.Count : Hitung Kolom.
:
x = Selection.Columns.Count : Hitung Kolom selection
:
Range("b5") = x :
:
Rows.Count : Hitung Baris
59 Buku Kata & Istilah Dalam VBA
:
y= Selection.Rows.Count : Hitung baris selection
:
Range("b5") = yt :
:
Prev Find : Penambahan 1 berulang
:
z = Range("b5") + 1 : Hitung penambahan berulang
:
Range("b5") = z :
:
Prev Next : Pengurangan berulang
:
z = Range("b5") - 1 : Pengurangan 1 berulang
:
Range("b5") = z :
:
Pages.Count : Hitung halamam
:
60 Buku Kata & Istilah Dalam VBA
Range("b5").Value = : Hitung halaman sheet
ActiveSheet.PageSetup.Pages.Count
:
Sheets.Count : Hitung Lembar
:
Range("b5").Value = Sheets.Count : Hitung jumlah sheet
:
Range Position : Tampilkan Alamat range
:
Range("A1").Value = ActiveCell.Row : Posisi no baris active cell
:
Range("A2").Value = ActiveCell.Column : Posisi no kolom active cell
:
Range("A3").Value = ActiveCell.Row & " , : Posisi no baris & no kolom active cell
" & ActiveCell.Column
:
Range(“a1”). Value = Cells(Rows.Count, : Nilai data terakhir
1).End(xlUp).Value
:
61 Buku Kata & Istilah Dalam VBA
Cells(Rows.Count, 1).End(xlUp).select : Menuju ke data terakhir
:
PrintOut : Perintah Cetak
:
from:=1, : Dari Halaman
:
To:=1, : Sampai Halaman
:
Copies:=1 : Jumlah Lembar
:
ActiveSheet. PrintOut from:=1, To:=2, : PrintOut
Copies:=1
dari halaman1, sampai halaman2
jumlah lember 1
:
PrintOut Preview : Menampilkan halaman Cetak
:
ActiveSheet.PrintOut Preview:=True, : Menampilkan halaman Cetak
From:=1, To:=2, Copies:=2
62 Buku Kata & Istilah Dalam VBA
:
Dim ws As Worksheet : Jika sheet array di A1 bernilai 1
maka
:
For Each ws In Sheet tesebut di print out
Worksheets(Array("data", "rekap",
"laporan"))
:
If ws.[A1].Value = 1 Then ws.PrintOut bila tidak maka tidak dilakukan
:
Next ws
:
Application.Dialogs(xlDialogPrinterSetu : Dialog PrinterSetup
p).Show
:
Application.Dialogs(xlDialogPrint).Show : DialogPrint out
:
For i = 1 To 5 : Dari satu sampai urutan ke 5
:
63 Buku Kata & Istilah Dalam VBA
Sheets(i).PrintOut from:=1, To:=1, Sheet yang dimaksud print out
Copies:=1
:
Next i Lanjutkan
:
For i = 1 To Sheets count Dari satu sampai semua sheet
:
Sheets(i).PrintOut from:=1, To:=1, Sheet yang dimaksud print out
Copies:=1
:
Next i Lanjutkan
:
ActiveSheet.PrintOut Preview:=True, : PrintOut Preview
From:=1, To:=2, Copies:=2
:
Select Case TextBox1.Value : Nilai textbox1 sebagai nilai case
Case 1 Jika case bernili 1
Sheet1. PrintOut from:=1, To:=1, Sheet1 Print out
Copies:=1
64 Buku Kata & Istilah Dalam VBA
Case 2 Jika case bernili 2
Sheet1. PrintOut from:=1, To:=1, Sheet2 Print out
Copies:=1
End Select jumlah lember 1
:
Dim x As Worksheet : Deklarasi x sebagai Worksheet
For Each x In : Untuk semua sheet di wookbook ini
ActiveWorkbook.Worksheets
If x.Visible = xlSheetVisible Then : Jika sheet yang dimaksud tdk
tersembunyi
Then print Out : Maka lakukan print
Dim x As Worksheet : Print out semua sheet
:
For Each x In Dengan mengabaikan sheet
ActiveWorkbook.Worksheets tersembunyi
If x.Visible = xlSheetVisible Then
x.PrintOut
End If
Next ws
65 Buku Kata & Istilah Dalam VBA
:
For i = 1 To 3 : Dari 1sampai 5
Sheet1.Range("h2").Value = i Sesuai no urut data vlookup
Sheet1. PrintOut from:=1, To:=1, Print out sheet1
Copies:=1
Next i
:
Range Max Select : Range Max Select
:
Range name_range_select : Rentang name_range_select
:
range Names_Add : rentang Names_Add
:
Sheet1.Range("a2:a20").Name = "Rekap" Membuat nama Range “Rekap”
:
Offset Coloumn : Keluar Kolom
:
Offset Rows : Keluar Baris

66 Buku Kata & Istilah Dalam VBA


Offset(1, 3) keluar(1Baris dan 3 kolom)
ActiveCell.Offset(1, 3).Value keluar(1Baris dan 3 kolom)dari cell
active
ActiveCell.Offset(0, 3).Value keluar(3 kolom ke kanan)dari cell
active
ActiveCell.Offset(-3, 0).Value keluar(3 baris ke atas) dari cell
active
:
ActiveCell.Offset(3, 0).Value keluar(3 baris ke bawah) dari cell
active
:
Range Offset Rows : Rentang baris Offset
:
:
Range Offset Coloumn : Rentang Kolom Offset
:
Range("g65536").End(xlUp).Offset(1, Data baris akhir kolom G select
67 Buku Kata & Istilah Dalam VBA
0).Select :
:
Range Offset Row : Rentang Baris Offset
:
Range("a65536").End(xlUp).Offset(0, Data baris akhir kolom A select
0).Select
:
Range Selection : Pilihan Rentang
:
Set x = Selection X = area seleksi
:
ActiveCell.Offset(0, 1).Value = Formula sum rentang seleksi
Application. Sum (x)
:
Range(“a1:a10). Selection.select
:
Range Min Select : Pilih Range Minimal
:
Region CurrentRegion. : Wilayah CurrentRegion.
68 Buku Kata & Istilah Dalam VBA
:
Resize Property : Ubah Ukuran Properti
:
Rank : Rangking
:
Search Data : Cari Data
:
stopWacht : Alat Pengontrol waktu
:
Vlookup : Rumus Vlookup
:
Transpose : Conversi baris ke kolom dan
sebaliknya
:
Datedif : Antar Waktu
:
Hlookup : Formula Hlookup
:
If : Jika & Jumlah
69 Buku Kata & Istilah Dalam VBA
:
Large : Nilai Terbesar
:
Sum : Menghitung Jumlah
:
OR : Atau
:
Roman : Hurup Romawi
:
Search : Pencarian
:
Formula : Rumus atau fungsi
:
Substitute : Rumus Pengganti
:
Sum : Jumlah
:
Sumif : Jumlah kreteria
:
70 Buku Kata & Istilah Dalam VBA
AND : Dan
:
Countif : Menghitung satu kreteria
:
Left : ambil karakter dari depan
:
Right : ambil karakter dari belakang
:
Function : Fungsi
:
Function Udf : Fungsi vba buatan sendiri
:
[C1].Formula = "=LEFT(B2,2)" : ambil karakter dari depan 2 kar
:
[C1].Formula = "=Right(B2,2)" : ambil karakter dari depan 2 kar
:
[C1].Formula = "=max(B2:b20)" : Formula Max
:
[C1].Formula = "=Min(B2:b20)" : Formula Min
71 Buku Kata & Istilah Dalam VBA
:
[C1].Formula = "=sum(B2:b20)" : Formula sum
:
[C1].Formula = "=average(B2:b20)" : Formula average
:
[C1].formula=”=Index(A2:A20,2)” : Formula index
:
[C1]. formula=”= Choose(1, "Alan", "Bob", : Formula Choose
"Carol")”
:
[C1]. Formula = "= : Formula COUNTBLANK
COUNTBLANK(A2:B10)"
:
[C1].Formula = : Formula SUMIF
"=SUMIF(B5:B50,G4,C5:C50)"
:
[C1].Formula = "=g6-g5" : Formula Pengurangan
:
[C1].Formula = "=COUNTIF(B5:E50,G4)" : Formula COUNTIF
72 Buku Kata & Istilah Dalam VBA
:
[C1].Formula = "=SUM(D5:D50)" : Formula SUM
:
[C1].Formula = "=G9-G10" : Formula penjumlahan
:
[C1].Formula = : Formula VLOOKUP
"=vLOOKUP(E4,k4:l13,2)"
:
[m3].Formula = "=(IF(b3 <0,0,K4))" : Formula if
:
[E3].Formula = "=LARGE(B2:B10,2)" : Formula Large
:
[E2:E10].Formula = "=ROMAN(C2)" : Konversi angka ke angka Romawi
:
[F2].Formula = "= PRODUCT(B2:C10)" : Perkalian pada kolom1 dengan
kolom ke 2
:
[b1].Formula = "= CountA(A1:A20)" : Jumlah Kolom Rentang yg sdh terisi
:
73 Buku Kata & Istilah Dalam VBA
[d3:D32].Formula = : Formula Datedif
"=Datedif(B3,C3,$D$1)"
:
[E2:E10].Formula = "= IF(OR(B2<60, : Formula if dan Or
C2<60, D2<60),$C$1,$D$1)"
:
[E2:E10].Formula = : Menemukan urutan data pada tabel
"=MATCH(C2,$B$2:$B$10,0)"
:
'=IF(AND(B2>7,C2>7, : Formula if And
D2>7),"LULUS","GAGAL")
:
[E2].Formula = "=IF(AND(B2>7,C2>7, : Formula if And
D2>7),$C$1,$D$1)"
:

74 Buku Kata & Istilah Dalam VBA


DAFTAR PUSTAKA
1.Excel Indonesia User Group
https://mobile.facebook.com/groups/306495419415013?refid=18&_ft_=qid.65255
97483353415169%3Amf_story_key.1790119677719239%3Atop_level_post_id.179
0119677719239%3Atl_objid.1790119677719239%3Asrc.22&__tn__=C-R

2.Excel VBA codes and Macros


https://mobile.facebook.com/groups/163491717053198?refid=18&_ft_=qid.65255
98965177908238%3Amf_story_key.1617691338299888%3Atop_level_post_id.161
7691338299888%3Atl_objid.1617691338299888%3Asrc.22&__tn__=C-R
3.Excel Supports Grup
https://mobile.facebook.com/groups/1547364671986974?refid=18&__tn__=C-R
4.Excel Champs Blog
Excel Champs Blog - Learn Excel With Useful Tips & Tricks
https://excelchamps.com/blog/

TAMAT

75 Buku Kata & Istilah Dalam VBA

Anda mungkin juga menyukai