Loncat ke daftar isi utama

Bagaimana cara cepat memasukkan nama sheet ke dalam sel di Excel?

Apakah ada cara mudah untuk memasukkan nama lembar kerja saat ini dalam satu sel? Bagaimana cara memasukkan semua nama lembar kerja di sel? Artikel ini akan memberi Anda metode rumit untuk menyelesaikan masalah ini.

Masukkan nama sheet saat ini dengan cepat di sel dengan fungsi

Masukkan semua nama sheet dengan cepat ke dalam sel dengan VBA

Masukkan nama lembar aktif dengan cepat dengan Kutools for Excel ide bagus3

Sisipkan dengan cepat semua nama lembar dengan hyperlink dalam sel sebagai indeks ide bagus3


panah gelembung kanan biru Masukkan nama sheet saat ini dengan cepat di sel dengan fungsi

Cukup masukkan rumus = KANAN (SEL ("nama file", D2), LEN (SEL ("nama file", D2)) - TEMUKAN ("]", SEL ("nama file", D2))) di sel mana saja dan tekan Enter kunci, ini menunjukkan nama lembar kerja saat ini di dalam sel.
doc-sisipkan-lembar-nama-ke-sel1

Rumus ini hanya dapat menampilkan nama lembar kerja saat ini, tetapi tidak untuk nama lembar kerja lainnya.


panah gelembung kanan biru Masukkan semua nama sheet dengan cepat ke dalam sel dengan VBA

Jika Anda ingin memasukkan semua nama lembar dalam sel, makro VBA adalah pilihan yang baik.

Langkah 1: Tahan lain + F11 kunci di Excel, dan itu membuka file Microsoft Visual Basic untuk Aplikasi jendela.

Langkah 2: Klik Menyisipkan > Modul, dan tempelkan makro berikut di Jendela Modul.

VBA untuk memasukkan semua nama lembar kerja di sel:

Sub Nama Lembar ()
Kolom (1). Sisipkan
Untuk i = 1 Sampai Lembar
Sel (i, 1) = Lembar (i]. Nama
Selanjutnya saya
End Sub

Langkah 3: Tekan F5 kunci untuk menjalankan makro ini. Kemudian Anda akan semua nama lembar kerja dicantumkan di Kolom A lembar kerja saat ini. Lihat tangkapan layar:
doc-sisipkan-lembar-nama-ke-sel2

Note: Dalam kode VBA, Anda dapat mengubah Sel (i, 1) ke referensi lain untuk memasukkan nama lembar mulai dari sel lain. Misalnya, masukkan nama sheet mulai dari C3, ubah menjadi Sel (i + 2, 3).


panah gelembung kanan biru Masukkan nama lembar aktif dengan cepat dengan Kutools for Excel

Jika Anda ingin memasukkan informasi lembar aktif termasuk nama lembar, nama buku kerja, jalur file dan seterusnya ke sel atau header / footer, Anda bisa menggunakan Kutools untuk Excel'S Masukkan Informasi Buku Kerja.

Kutools untuk Excel, dengan lebih dari 300 fungsi praktis, membuat pekerjaan Anda lebih mudah. 

Setelah pemasangan gratis Kutools for Excel, lakukan seperti di bawah ini:

1. Pilih sel atau rentang untuk meletakkan nama sheet, dan klik Kutools Ditambah > Buku catatan > Masukkan Informasi Buku Kerja.doc memasukkan informasi lembar kerja 1

2. Kemudian pilih informasi buku kerja yang perlu Anda sisipkan Informasi bagian, dan tentukan lokasi yang Anda inginkan untuk menempatkan informasi Sisipkan di bagian. Lalu klik OK.

doc 1

Anda dapat mengklik di sini untuk mengetahui lebih lanjut tentang Menyisipkan Informasi Buku Kerja.

panah gelembung kanan biru Masukkan informasi buku kerja ke dalam sel / Header / Footer


panah gelembung kanan biru Sisipkan dengan cepat semua nama lembar dengan hyperlink dalam sel sebagai indeks

Kutools untuk Excel's Buat Daftar Nama Lembar utilitas tidak hanya memasukkan semua nama sheet dalam sel, tetapi juga memasukkan hyperlink ke sheet terkait juga.

Kutools untuk Excel, dengan lebih dari 300 fungsi praktis, membuat pekerjaan Anda lebih mudah. 

Setelah pemasangan gratis Kutools for Excel, lakukan seperti di bawah ini:

Langkah 1: Klik Kutools Ditambah > Lembar Kerja > Buat Daftar Nama Lembar.
doc-sisipkan-lembar-nama-ke-sel3

Langkah 2: Di Buat Daftar Nama Lembar kotak dialog, tentukan pengaturan sesuai dengan kebutuhan Anda, dan klik OK.
doc-sisipkan-lembar-nama-ke-sel4

Kemudian Anda akan melihat semua nama lembar dimasukkan ke dalam lembar kerja baru, dan setiap nama lembar ditautkan ke lembar kerja yang sesuai. Lihat tangkapan layar berikut:

Nama lembar kerja dengan hyperlink
Nama lembar kerja dengan tombol makro
doc-sisipkan-lembar-nama-ke-sel5
doc-sisipkan-lembar-nama-ke-sel6

Grafik Buat Daftar Nama Lembar utilitas memudahkan Anda membuat daftar semua nama lembar kerja dari buku kerja yang aktif di lembar kerja baru, yang berisi hyperlink atau tombol makro untuk menavigasi dengan cepat ke lembar kerja lain. Klik untuk mengetahui lebih lanjut tentang utilitas ini.

panah gelembung kanan biru Buat daftar semua nama sheet dengan hyperlink



Kutools for Excel: 300 + fungsi yang harus Anda miliki di Excel, Uji coba gratis 30 hari dari sini

Gabungkan beberapa lembar / Buku Kerja dengan mudah menjadi satu lembar atau Buku Kerja

Untuk menggabungkan beberapa lembar atau buku kerja ke dalam satu lembar atau buku kerja mungkin membosankan di Excel, tapi dengan Menggabungkan Fungsi di Kutools for Excel, Anda bisa menggabungkan lusinan lembar / buku kerja menjadi satu lembar atau buku kerja, juga, Anda bisa menggabungkan lembaran menjadi satu dengan beberapa klik saja.  Klik untuk uji coba gratis 30 hari berfitur lengkap!
menggabungkan lembaran
 
Kutools for Excel: dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari.

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 (32)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how to find the sheet name (section name ) when you type employee no. in a cell? A workbook has 15 sheets named as per sections of the department.In each section has 100 employees in range A2:A101with unique employee no. I have a list of 50 employee nos in different sections. In a new work sheet how to find the section name which corresponds to the employee no.
This comment was minimized by the moderator on the site
Hello, Ashley Pereira, please visit this: https://www.extendoffice.com/documents/excel/5335-excel-vlookup-return-sheet-name.html this article may help you.
This comment was minimized by the moderator on the site
How do you get this formula to copy the tabnames into consecutive columns. In other words not vertically but horizontally.
This comment was minimized by the moderator on the site
Change the following:

Cells(i, 1) = Sheets(i).Name
to
Cells(1, i) = Sheets(i).Name

This causes to step columns in same row.
This comment was minimized by the moderator on the site
you can copy the data entered, then paste Transpose, this converts Cols to Rows, and Rows to Cols.
This comment was minimized by the moderator on the site
Just tried now the macro for inserting all the sheet's name in one sheet. Awesome! Thank you very much
This comment was minimized by the moderator on the site
How do you get the VBA to start in a specific cell instead of A1?
This comment was minimized by the moderator on the site
Just add to i like I did below. If you add to i you can start on any row you would like.

Sub GetNames()

For i = 1 To Sheets.Count

Cells(i + 6, 1) = Sheets(i).Name

Next i
End Sub
This comment was minimized by the moderator on the site
Thank u for your supplement.
This comment was minimized by the moderator on the site
You can change the number in Cells(i, 1) = Sheets(i).Name to other to insert the sheet names in other column, for instance, insert start from C1,change Cells(i, 1) = Sheets(i) to Cells(i, 3) = Sheets(i), but this VBA only can insert the sheet names start from the row 1.
This comment was minimized by the moderator on the site
Thanks!! this was was a great help.
This comment was minimized by the moderator on the site
Hi Kindly i want VBA code to insert file name in specific cell. Thanks
This comment was minimized by the moderator on the site
Great site was very helpful. I have different tab names and I get the names in one sheet using your code, but it gives names of all the tab names, is there anyway we can add code to select from certain tab number or something like that.
This comment was minimized by the moderator on the site
I have multiple project sheets database with different tab name and this name is shown in master sheet table. which formula can i give that when i insert new tab it should automatically updated in master table.
This comment was minimized by the moderator on the site
Can anyone help me with this: Create a macro that creates 10 sheets and name them Sheet1 to Sheet10 but using a loop
This comment was minimized by the moderator on the site
Hello, Can you please help me with the simple VBA code. I have a list of Names in Column A. Specific Range - (A2:A251) - Now I need to create new spreadsheets with these names. The names are driven from a different sheet, thus they keep changing. So in short, if I have 10 names today, they might not appear tomorrow. So on the click of button all older spreadsheets (except 1) should be deleted first and then from the names on the column, new ones should get created. Please advice if this is possible to do? Thanks, Manish Gupta
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