Loncat ke daftar isi utama

Bagaimana cara cepat memasukkan beberapa kotak centang di Excel?

Bagaimana kita bisa dengan cepat memasukkan beberapa kotak centang di Excel? Harap ikuti metode rumit ini di Excel:

Masukkan beberapa kotak centang dengan Fill Handle

Masukkan beberapa kotak centang dengan kode VBA

Sisipkan dan hapus beberapa kotak centang dengan satu klik menggunakan Kutools for Excel


panah gelembung kanan biru Masukkan beberapa kotak centang dengan Fill Handle

Di Excel, Fill Handle adalah fungsi yang ampuh untuk melakukan banyak hal. Itu dapat mengisi kotak centang juga. Pertama, Anda harus memasukkan kotak centang. Lakukan sebagai berikut:

1. Klik Pengembang di bilah menu, lalu klik Menyisipkan, dan pilih gambar kotak centang di bawah Kontrol Formulir. Lihat tangkapan layar:

doc-insert-multiple-checkbox1

2. Klik gambar kotak centang, dan Anda akan melihat penunjuk tanda plus, klik di mana Anda ingin menambahkan kotak centang.

doc-insert-multiple-checkbox2

3. Pilih kotak centang dan pindahkan ke sel, lalu Hapus nama kotak centang.

4. Kemudian pilih sel tempat kotak centang berada. Dan kemudian seret gagang isian ke rentang sel yang ingin Anda isi. Lihat tangkapan layar:

doc-insert-multiple-checkbox3


Sisipkan beberapa kotak centang dalam pilihan dengan satu klik:

Kutools untuk Excel's Kotak Centang Batch Insert utilitas dapat membantu Anda dengan cepat memasukkan beberapa kotak centang sekaligus. Klik untuk mengunduh gratis fitur ini.

doc memasukkan beberapa kotak centang 10

Kutools untuk Excel: dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari. Unduh dan uji coba gratis Sekarang!


panah gelembung kanan biru Masukkan beberapa kotak centang dengan kode VBA

Jika menurut Anda metode pertama agak merepotkan, kode VBA berikut dapat membantu Anda memasukkan banyak kotak centang dengan mudah dan cepat.

1. Klik Pengembang > Visual Basic, Baru Microsoft Visual Basic untuk aplikasi jendela akan ditampilkan, klik Menyisipkan > Modul, dan masukkan kode berikut ke dalam Modul:

Sub InsertCheckBoxes()
'Updateby Extendoffice
Dim Rng As Range
Dim WorkRng As Range
Dim Ws As Worksheet
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
Set Ws = Application.ActiveSheet
Application.ScreenUpdating = False
For Each Rng In WorkRng
    With Ws.CheckBoxes.Add(Rng.Left, Rng.Top, Rng.Width, Rng.Height)
        .Characters.Text = Rng.Value
    End With
Next
WorkRng.ClearContents
WorkRng.Select
Application.ScreenUpdating = True
End Sub

2. Lalu klik doc-perkalian-kalkulasi-3 tombol untuk menjalankan kode. Dan kotak prompt akan muncul untuk mengingatkan Anda untuk memilih berbagai sel yang ingin Anda masukkan kotak centang. Lihat tangkapan layar:

doc-insert-multiple-checkbox4

3. Dan kemudian klik OK, kotak centang telah disisipkan dalam rentang dengan rapi dan indah. Lihat tangkapan layar:

doc-insert-multiple-checkbox5


panah gelembung kanan biru Masukkan beberapa kotak centang dengan Kutools for Excel

Di sini, saya dapat memperkenalkan Anda cara yang mudah dan praktis untuk memasukkan beberapa kotak centang-Kutools untuk Excel, Dengan yang Kotak Centang Batch Insert fitur, Anda dapat memasukkan kotak centang ke dalam sel kosong atau sel dengan data.

Kutools untuk Excel : dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari.

Setelah menginstal Kutools untuk Excel, lakukan dengan langkah-langkah berikut:

1. Pilih rentang sel yang ingin Anda sisipkan kotak centang.

2. Klik Kutools > Menyisipkan > Kotak Centang Batch Insert, lihat tangkapan layar:

doc-insert-multiple-checkbox06

3. Kemudian sel yang Anda pilih telah diisi dengan kotak centang seperti gambar berikut yang ditunjukkan:

Sisipkan kotak centang ke dalam sel kosong Masukkan kotak centang ke dalam sel data
doc-insert-multiple-checkbox7 doc-insert-multiple-checkbox8

Tip. Jika Anda ingin menghapus beberapa kotak centang dengan cepat, coba gunakan Kutools untuk Excel'S Hapus Kotak Centang seperti yang ditunjukkan pada tangkapan layar berikut. Ini berfungsi penuh tanpa batasan dalam 60 hari, silakan unduh dan dapatkan uji coba gratis sekarang.

doc-insert-multiple-checkbox9

Kutools untuk Excel: dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari. Unduh dan uji coba gratis Sekarang!


panah gelembung kanan biru Masukkan dan hapus beberapa kotak centang dengan Kutools for Excel

Kutools untuk Excel: dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari. Unduh dan uji coba gratis Sekarang!

Artikel terkait:

Bagaimana cara cepat menghapus beberapa kotak centang di Excel?

Alat Produktivitas Kantor Terbaik

馃 Kutools AI Ajudan: Merevolusi analisis data berdasarkan: Eksekusi Cerdas   |  Hasilkan Kode  |  Buat Rumus Khusus  |  Analisis Data dan Hasilkan Grafik  |  Aktifkan Fungsi Kutools...
Fitur Populer: Temukan, Sorot, atau Identifikasi Duplikat   |  Hapus Baris Kosong   |  Gabungkan Kolom atau Sel tanpa Kehilangan Data   |   Putaran tanpa Formula ...
Pencarian Super: VLookup Beberapa Kriteria    VLookup Nilai Berganda  |   VLookup di Beberapa Lembar   |   Pencarian Fuzzy ....
Daftar Drop-down Lanjutan: Buat Daftar Drop Down dengan Cepat   |  Daftar Drop Down yang Bergantung   |  Multi-pilih Drop Down List ....
Manajer Kolom: Tambahkan Jumlah Kolom Tertentu  |  Pindahkan Kolom  |  Alihkan Status Visibilitas Kolom Tersembunyi  |  Bandingkan Rentang & Kolom ...
Fitur Unggulan: Fokus Kisi   |  Tampilan Desain   |   Bar Formula Besar    Manajer Buku Kerja & Lembar   |  Perpustakaan Sumberdaya (Teks otomatis)   |  Pemetik tanggal   |  Gabungkan Lembar Kerja   |  Enkripsi/Dekripsi Sel    Kirim Email berdasarkan Daftar   |  Filter Super   |   Filter Khusus (filter tebal/miring/coret...) ...
15 Perangkat Teratas12 Teks Tools (Tambahkan Teks, Hapus Karakter, ...)   |   50 + Grafik jenis (Gantt Chart, ...)   |   40+ Praktis Rumus (Hitung usia berdasarkan ulang tahun, ...)   |   19 Insersi Tools (Masukkan Kode QR, Sisipkan Gambar dari Jalur, ...)   |   12 Konversi Tools (Angka ke Kata, Konversi Mata Uang, ...)   |   7 Gabungkan & Pisahkan Tools (Lanjutan Gabungkan Baris, Pisahkan Sel, ...)   |   ... dan banyak lagi

Tingkatkan Keterampilan Excel Anda dengan Kutools for Excel, dan Rasakan Efisiensi yang Belum Pernah Ada Sebelumnya. Kutools for Excel Menawarkan Lebih dari 300 Fitur Lanjutan untuk Meningkatkan Produktivitas dan Menghemat Waktu.  Klik Di Sini untuk Mendapatkan Fitur yang Paling Anda Butuhkan...

Deskripsi Produk


Tab Office Membawa antarmuka Tab ke Office, dan Membuat Pekerjaan Anda Jauh Lebih Mudah

  • Aktifkan pengeditan dan pembacaan tab di Word, Excel, PowerPoint, Publisher, Access, Visio, dan Project.
  • Buka dan buat banyak dokumen di tab baru di jendela yang sama, bukan di jendela baru.
  • Meningkatkan produktivitas Anda sebesar 50%, dan mengurangi ratusan klik mouse untuk Anda setiap hari!
Comments (51)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks for the tips, could help me , I am trying to select multiple checkboxes and based on selection count should be displayed. could help me with macro code for same
This comment was minimized by the moderator on the site
Hello, Rohit,

May be the following article can help you, please view it.
https://www.extendoffice.com/documents/excel/2460-excel-sum-count-checkboxes.html

Hope it can help you!
This comment was minimized by the moderator on the site
Hello and thank you for the tips above. Note that in your Sub, you must declare the variable xTitleId with Dim xTitleId as String.. otherwise the routine will produce an error, assuming the user has VBA set with Option Explicit. The Dim above solves the problem and the Sub works perfectly thereafter. Thanks for the great advice and information.
This comment was minimized by the moderator on the site
Great macro, gracefully written!!! Thank you!
This comment was minimized by the moderator on the site
I just purchased the program. When I insert the checkboxes, they are slightly lower than the cell itself, so they are encroaching into the cell below. How can I reposition each of those cells?
This comment was minimized by the moderator on the site
Hye there. im new here n new for using excel.can i know how to put other excel sheet under one excel sheet. example when i open 1 excel sheet and i got my audit plan. Then i got list of country overall such as Canada and Belgium. So what i wan to know how if i click Canada and my audit plan for Canada will appear.
This comment was minimized by the moderator on the site
Why is my name in this list? I did not take this class.
This comment was minimized by the moderator on the site
Hi Just followed your code to create a list of checkboxes on my spreadsheet, I am very new to this but have managed to follow it and worked perfectly. I just cant remove the checkbox labels coming up? i have a pretty long spreadsheet and deleting them individually is impossible. can i remove the labels that come up with each checkbox??? please help
This comment was minimized by the moderator on the site
Really good macro How do insert them already checked? i.e. their value is already 1? Thanks
This comment was minimized by the moderator on the site
THANK YOU!!! Great post!
This comment was minimized by the moderator on the site
Hello, this macro is a GREAT timesaver - thank you! I'm terrible with VBA, but I was trying to determine which line(s) in the code I may be able to comment to keep the range-reminder dialog from appearing. Is that possible? I'm prepping some checklists for our marketing group and entering a MILLION checkboxes (so you can imagine how much this macro helps), but I have to stop with each group/range and click on that darn dialog. Any way to disable it so I can maybe re-enable it later? Thanks for any help! -LLD
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations