Loncat ke daftar isi utama

Bagaimana cara mencetak banyak salinan dengan nomor halaman urutan?

Pernahkah Anda mencoba mencetak banyak salinan dalam satu lembar dengan nomor halaman urut? Itu berarti mencetak 10 salinan dari satu lembar, dan mengisi Sel A1 di salinan pertama dengan 1, di salinan ke-001 dengan 2…, dan di salinan ke-002 dengan 10. Di Excel, tidak ada fitur bawaan yang bisa menyelesaikan pekerjaan ini, tetapi dalam artikel ini, saya memperkenalkan kode makro untuk membantu Anda dengan cepat mencetak banyak salinan dengan nomor halaman urutan di Excel.

Cetak salinan dengan nomor berbeda dengan kode VBA


panah gelembung kanan biru Cetak salinan dengan nomor berbeda dengan kode VBA

Mengikuti langkah-langkah di bawah ini untuk mencetak beberapa salinan dari satu lembar dengan nomor urut dengan kode VBA

1. Aktifkan lembar yang ingin Anda cetak, dan tekan Alt + F11 kunci untuk membuka Microsoft Visual Basic untuk Aplikasi jendela.

2. klik Menyisipkan > Modul, dan tempelkan kode di bawah ini ke Modul naskah. Lihat tangkapan layar:

VBA: Cetak salinan dengan nomor halaman urut.

Sub PrintCopiesWithNumbers()
'UpdatebyEntendoffice20161031
    Dim i As Integer
    Application.ScreenUpdating = False
    For i = 1 To 10
        Range("A1").Value = "'00" & i
       ActiveSheet.PrintOut
    Next i
    Application.ScreenUpdating = True
    MsgBox "Totally print" & (i - 1) &"copies", vbInformation, "Kutools for Excel"
End Sub

copy cetak dokumen dengan nomor 1

Note: dalam kode, A1 adalah sel yang ingin Anda tempatkan nomor urutnya, 1 Untuk 10 menunjukkan untuk mencetak 10 salinan, dan "'00" & aku adalah format urutan, Anda dapat mengubahnya sesuai kebutuhan.

3. tekan F5 kunci untuk menjalankan kode, dan dialog muncul untuk mengingatkan Anda bahwa mencetak 10 salinan. Klik OK untuk menutup dialog, maka setiap salinan cetak memiliki nomor urutnya sendiri.
copy cetak dokumen dengan nomor 2

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 (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I NEED TO PRINT PAGE 1 TWICE, PAGE 2 TWICE PAGE 3 TWICE AND SO ON. IS THERE A WAY TO ADD TO THIS VBA CODE TO DO THAT? IN OTHER WORDS I NEED TO PRINT EACH PAGE IN THE SEQUENCE 2 TIMES BACK TO BACK 1,1 2,2 3,3 4,4 AND SO ON .
THANK YOU FOR ANY HELP
This comment was minimized by the moderator on the site
I need my starting number to be 7 digits ( 2223675 )
This comment was minimized by the moderator on the site
I am working on a checklist. Column C and Column M are my columns with sequence numbers in it. I want them to update everytime I print and continue all the way up to 950. So one sheet contains 1 - 60. I would need to print 16 pages once I figure out how to get those columns C10:C39 and M10:M39 to continue updating with each print. Can you assist?
This comment was minimized by the moderator on the site
I'm using this with MS word, and when I run it, a message box pops up " Compile error, sub or function not defined "
This comment was minimized by the moderator on the site
Hi, Fish, this code is avaliable in MS Excel, not Word.
This comment was minimized by the moderator on the site
how can I saved the sequence of copies in one pdf file? Thanks! 
This comment was minimized by the moderator on the site
Thanks, very helpful.But i need to print 2 sequential number on 1 page. Can help?
This comment was minimized by the moderator on the site
Sorry, I do not understand your requerments.
This comment was minimized by the moderator on the site
thanks !! its helpful and my work is done :)
This comment was minimized by the moderator on the site
when i am pressing f5 nothing is happening what to do?
This comment was minimized by the moderator on the site
Go to the ribbon of the Microsoft Visual Basic Applications windown, and click Run.
This comment was minimized by the moderator on the site
go to Run menu item and manually click on run .
This comment was minimized by the moderator on the site
Hi,
I was looking for this kind of code butc with a twist..
When printing 10 copies it should say ot id how many it is.. Ex. 001 of 010 and so on..
Any help?
This comment was minimized by the moderator on the site
did you find any help on this? looking for the same
This comment was minimized by the moderator on the site
Sorry I have no idea.
This comment was minimized by the moderator on the site
What is sequence format refer
This comment was minimized by the moderator on the site
Hello, the sequence refer to the copies number.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations