Loncat ke daftar isi utama

Bagaimana cara membagi buku kerja untuk memisahkan file Excel di Excel?

Anda mungkin perlu membagi buku kerja besar untuk memisahkan file Excel dengan menyimpan setiap lembar kerja buku kerja sebagai file Excel individual. Misalnya, Anda bisa membagi buku kerja menjadi beberapa file Excel individual lalu mengirimkan setiap file ke orang yang berbeda untuk menanganinya. Dengan melakukan itu, Anda bisa mendapatkan orang tertentu menangani data tertentu, dan menjaga data Anda tetap aman. Artikel ini akan memperkenalkan cara untuk membagi buku kerja besar untuk memisahkan file Excel berdasarkan setiap lembar kerja.

  1. Pisahkan buku kerja untuk memisahkan file Excel dengan menyalin dan menempel
  2. Pisahkan buku kerja untuk memisahkan File Excel dengan fitur Pindahkan atau Salin
  3. Pisahkan buku kerja untuk memisahkan file Excel dengan kode VBA
  4. Pisahkan buku kerja untuk memisahkan file Excel / PDF / CSV / TXT dengan Kutools for Excel dengan mudah

Pisahkan buku kerja untuk memisahkan file Excel dengan menyalin dan menempel

Biasanya, menggunakan Copy perintah dan pasta perintah dapat menyimpan buku kerja sebagai file Excel terpisah secara manual. Pertama, pilih seluruh lembar kerja yang ingin Anda simpan sebagai file terpisah, buat buku kerja baru, lalu tempelkan di buku kerja baru, pada akhirnya menyimpannya.

Ini adalah cara yang mudah digunakan jika Anda hanya perlu membagi beberapa lembar kerja sebagai file terpisah. Namun, harus memakan waktu dan membosankan untuk membagi banyak lembar kerja dengan menyalin dan menempel secara manual.


Pisahkan buku kerja untuk memisahkan File Excel dengan fitur Pindahkan atau Salin

Metode ini akan memperkenalkan fitur Pindahkan atau Salin untuk memindahkan atau menyalin lembar yang dipilih ke buku kerja baru dan menyimpannya sebagai buku kerja terpisah. Harap lakukan sebagai berikut:

1. Pilih lembar di bilah tab Lembar, klik kanan, dan pilih Pindahkan atau Salin dari menu konteks. Lihat tangkapan layar:

Note: Memegang Ctrl kunci, Anda dapat memilih beberapa lembar yang tidak berdekatan dengan mengkliknya satu per satu di bilah tab Lembar; memegang perubahan kunci, Anda dapat memilih beberapa lembar yang berdekatan dengan mengklik yang pertama dan yang terakhir di bilah tab Lembar.

2. Dalam dialog Pindahkan atau Salin, pilih (buku baru) dari Untuk memesan daftar drop-down, periksa Buat salinan pilihan, dan klik OK tombol. Lihat tangkapan layar:

3. Sekarang semua lembar yang dipilih disalin ke buku kerja baru. Klik File > Save untuk menyimpan buku kerja baru.

Pisahkan buku kerja dengan cepat untuk memisahkan file Excel / PDF / TXT / CSV di Excel

Biasanya kami dapat membagi buku kerja menjadi file Excel individual dengan Pindahkan atau Salin fitur di Excel. Tapi Kutools for Excel's Pisahkan Buku Kerja utilitas dapat membantu Anda dengan mudah membagi buku kerja dan menyimpan setiap lembar kerja sebagai file PDF / TEXT / CSV terpisah atau buku kerja di Excel.


excel buku kerja split iklan

Kutools untuk Excel - Tingkatkan Excel dengan lebih dari 300 alat penting. Nikmati uji coba GRATIS 30 hari berfitur lengkap tanpa memerlukan kartu kredit! Get It Now

Pisahkan buku kerja untuk memisahkan file Excel dengan kode VBA

Kode VBA berikut dapat membantu Anda dengan cepat membagi beberapa lembar kerja buku kerja saat ini untuk memisahkan file Excel, lakukan hal berikut:

1. Buat folder baru untuk buku kerja yang ingin Anda pisahkan, karena file Excel yang terpisah akan tetap berada di folder yang sama dengan buku kerja master ini.

2. Tahan ALT + F11 kunci di Excel, dan itu membuka file Microsoft Visual Basic untuk Aplikasi jendela.

3. Klik Menyisipkan > Modul, dan tempel kode berikut di Module Window.

VBA: Pisahkan buku kerja menjadi beberapa buku kerja dan simpan di folder yang sama

Sub Splitbook()
'Updateby20140612
Dim xPath As String
xPath = Application.ActiveWorkbook.Path
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each xWs In ThisWorkbook.Sheets
    xWs.Copy
    Application.ActiveWorkbook.SaveAs Filename:=xPath & "\" & xWs.Name & ".xlsx"
    Application.ActiveWorkbook.Close False
Next
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub

4. Tap F5 kunci untuk menjalankan kode ini. Dan buku kerja dipisahkan untuk memisahkan file Excel di folder yang sama dengan buku kerja asli. Lihat tangkapan layar:

Note: Jika salah satu sheet memiliki nama yang sama dengan workbook, VBA ini tidak dapat berfungsi.

Pisahkan buku kerja untuk memisahkan file Excel / PDF / CSV / TXT dengan Kutools for Excel dengan mudah

Jika Anda memiliki Kutools untuk Excel terpasang, itu Pisahkan Buku Kerja alat dapat membagi beberapa lembar kerja sebagai file Excel terpisah dengan mudah dan cepat hanya dengan beberapa klik.

Kutools untuk Excel - Tingkatkan Excel dengan lebih dari 300 alat penting. Nikmati uji coba GRATIS 30 hari berfitur lengkap tanpa memerlukan kartu kredit! Get It Now

1. Setelah menginstal Kutools untuk Excelklik Kutools Ditambah > Pisahkan Buku Kerja , lihat tangkapan layar:

2. di Pisahkan Buku Kerja kotak dialog, lakukan operasi berikut:
(1) Semua nama lembar kerja dicentang secara default. Jika Anda tidak ingin membagi beberapa lembar kerja, Anda dapat menghapus centangnya;
(2) Periksa Simpan satu jenis pilihan;
(3) Dari Save as type drop down, pilih satu jenis file yang ingin Anda pisahkan dan simpan.
(4) Lalu klik Split .

Note: Jika Anda ingin menghindari pemisahan lembar kerja yang tersembunyi atau kosong, Anda dapat memeriksa Lewati lembar kerja tersembunyi or Lewati lembar kerja kosong kotak.

3. Dalam dialog Browse For Folder, tentukan folder tujuan untuk menyimpan file terpisah, dan klik OK .

Sekarang lembar kerja yang dicentang disimpan sebagai buku kerja baru yang terpisah. Setiap buku kerja baru diberi nama dengan nama lembar kerja asli. Lihat tangkapan layar:

Kutools untuk Excel's Pisahkan Buku Kerja alat ini memudahkan untuk membagi buku kerja aktif menjadi file Excel individual (satu file berisi satu lembar kerja), file CSV, file TXT, atau file PDF sesuai kebutuhan. Anda dapat mengatur untuk melewati semua lembar kerja kosong dan tersembunyi. Dapatkan Uji Coba Gratis!


Demo: Pisahkan atau simpan setiap lembar kerja dari satu buku kerja sebagai file excel / txt / csv / pdf terpisah


Kutools untuk Excel: Lebih dari 300 alat praktis di ujung jari Anda! Mulai uji coba gratis 30 hari Anda tanpa batasan fitur hari ini. Download Sekarang!

Artikel terkait:

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 (113)
Rated 2.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hello.
Both options work fine. But ..not satisfying my needs.
In each sheet i have 2 extra columns at and which contain vlookup formulas. And they all get exported to new files..
I cant have that.I also cant go and delete all formulas from all sheets then export , too much work.
Any solution to export but to ignore those columns with formulas?
Rated 2.5 out of 5
This comment was minimized by the moderator on the site
I tried this in Office 365 and it copies 8 sheets to separate files then gives me "run-time error '1004': Copy Method of Worksheet Class failed"
This comment was minimized by the moderator on the site
Hi there, did you use the vba code or Kutools?
This comment was minimized by the moderator on the site
I was able to use this macro once and it was great but now it will not work and I only get one file labeled as "Sheet 1" and it is blank, can anyone help?
This comment was minimized by the moderator on the site
Hello, how can we split the sheets tow by tow ==< what i mean is that i have an amount of sheets in one folder and I want tow split each tow successive sheets in one folder, i have tried to put changes on the basic code but i didn't succeed, I'm a beginner in this field if you can be held that is going to be a huge help
This comment was minimized by the moderator on the site
xWs.Copy
showing error in this area
This comment was minimized by the moderator on the site
Hello, I just tried the split data function based on the first column (about 90 partners). Half of the worksheets are named correctly while the other just have number of the sheet eventhough there is name of the partner in the column. Any help, please?
This comment was minimized by the moderator on the site
i have a data of 5 worksheets. Every worksheet has a common column (Branch). Can i convert the data into different excel files based on respective branches
This comment was minimized by the moderator on the site
Hi Sudarshan,
Kutools for Excel has an amazing feature – Split Data, which can quickly split data from a range or a sheet to multiple sheets based on values in the specified column. And these sheets are saved in a new workbook.

You can apply the Split Data feature to split each sheet based on the specified common column.
After splitting, you can apply the Combine Worksheets feature, also provided by Kutools for Excel, and combine all same name worksheets into one workbook.
This comment was minimized by the moderator on the site
excel which i want to split is having 3 spread sheet my requirement is to split the excel as per the sheet 1 and remaning to sheet to be contant when file split
This comment was minimized by the moderator on the site
Hi prateeksha,
In the fourth method on this webpage, the Split Workbook feature of Kutools for Excel is recommended, which will split every specified worksheet to individual PDF/CSV/TEXT/Workbooks.
This comment was minimized by the moderator on the site
Hey there,
I was wondering if we can use this macro to split the workbook into csv files
I've changed the VBA as below, replacing "xlsx" with "csv", but it doesn't work:
Application.ActiveWorkbook.SaveAs Filename:=xPath & "\" & xWs.Name & ".csv"
Thanks for your help!
This comment was minimized by the moderator on the site
Hi Kevin,
It recommends trying the fourth method to solve your problem. Kutools for Excel can be freely trial for 30 days. And the Split Workbook feature of Kutools for Excel can solve the problem easily.
This comment was minimized by the moderator on the site
Very helpful code. Just had one question. How can I make these excel files read-only. I tried the below but it did not work.

Application.ActiveWorkbook.ChangeFileAccess Mode:=xlReadOnly
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