ไปยังเนื้อหาหลัก

วิธีสร้างแผ่นงานหลายแผ่นด้วยรูปแบบเดียวกันใน Excel อย่างรวดเร็ว

ตัวอย่างเช่นคุณได้สร้างแผ่นงานที่มีการจัดรูปแบบเฉพาะและตอนนี้คุณต้องการสร้างแผ่นงานหลายแผ่นที่มีรูปแบบเดียวกันกับแผ่นงานนี้คุณจะแก้ปัญหานี้ใน Excel ได้อย่างไร? บทช่วยสอนนี้พูดถึงวิธีการสร้างแผ่นงานหลายแผ่นด้วยรูปแบบเดียวกัน

สร้างแผ่นงานที่มีรูปแบบเดียวกันโดยย้ายหรือคัดลอก

สร้างแผ่นงานที่มีรูปแบบเดียวกันโดย VBA

สร้างแผ่นงานที่มีรูปแบบเดียวกันโดยคัดลอกหลายแผ่นงานของ Kutools for Excel ความคิดที่ดี 3


สร้างแผ่นงานที่มีรูปแบบเดียวกันโดยย้ายหรือคัดลอก

ใน Excel คุณสามารถใช้คำสั่งย้ายหรือคัดลอกเพื่อสร้างแผ่นงานที่มีรูปแบบเดียวกับแผ่นงานที่คุณเลือก

1. คลิกที่แผ่นงานซึ่งมีรูปแบบที่คุณต้องการบนไฟล์ แถบแท็บแผ่นงานแล้วคลิกขวาเพื่อเลือก ย้ายหรือคัดลอก จากเมนูบริบท ดูภาพหน้าจอ:

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 1

2. จากนั้นในกล่องโต้ตอบ popping ให้เลือก สร้างสำเนา ตัวเลือก ดูภาพหน้าจอ:

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 2

3 คลิก OK. แผ่นงานใหม่ถูกสร้างขึ้นด้วยรูปแบบเดียวกันที่ด้านหน้าของแผ่นงานที่เลือก ดูภาพหน้าจอ:

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 3

หมายเหตุ:

(1) คุณยังสามารถคลิก หน้าแรก > รูปแบบ > ย้ายหรือคัดลอกแผ่นงาน เพื่อเปิดใช้งาน ย้ายหรือคัดลอก โต้ตอบ

(2) ด้วยวิธีนี้จะใช้เวลานานเมื่อคุณต้องสร้างหลายร้อยแผ่นด้วยรูปแบบเดียวกัน


สร้างแผ่นงานที่มีรูปแบบเดียวกันโดย VBA

มีรหัส VBA ที่ช่วยให้คุณสร้างแผ่นงานหลายแผ่นด้วยรูปแบบเดียวกันพร้อมกันได้อย่างรวดเร็ว

1 กด Alt + F11 กุญแจเพื่อเปิด Microsoft Visual Basic สำหรับแอปพลิเคชัน จากนั้นคลิก สิ่งที่ใส่เข้าไป > โมดูลคัดลอกและวางโค้ดด้านล่างลงในไฟล์ โมดูล หน้าต่าง

VBA: สร้างแผ่นงานด้วยรูปแบบเดียวกัน

Sub CopyWorkSheets()
'Updateby20150526
Dim xNumber As Integer
Dim xWsName As String
On Error Resume Next
xTitleId = "KutoolsforExcel"
xWsName = Application.InputBox("Copy worksheet name", xTitleId, , Type:=2)
xNumber = Application.InputBox("Copy number", xTitleId, , Type:=1)
For i = 1 To xNumber
    Application.ActiveWorkbook.Sheets(xWsName).Copy _
    After:=Application.ActiveWorkbook.Sheets(xWsName)
Next
End Sub

2 กด F5 เพื่อเรียกใช้รหัส VBA จากนั้นกล่องโต้ตอบจะปรากฏขึ้นเพื่อให้คุณพิมพ์ชื่อแผ่นงานที่คุณต้องการคัดลอกรูปแบบ

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 4

3 คลิก OKและระบุจำนวนสำเนาที่คุณต้องการลงในกล่องโต้ตอบ popping อื่น ดูภาพหน้าจอ:

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 5

4 คลิก OK. จากนั้นจะมีสำเนาแผ่นงานหกชุดที่มีรูปแบบเดียวกันสร้างขึ้น


สร้างแผ่นงานที่มีรูปแบบเดียวกันโดยคัดลอกหลายแผ่นงานของ Kutools for Excel

หากคุณไม่ต้องการใช้ VBA ฉันขอแนะนำเครื่องมือที่มีประโยชน์ - Kutools สำหรับ Excelคุณสามารถใช้ไฟล์ คัดลอกแผ่นงาน ยูทิลิตี้เพื่อสร้างแผ่นงานที่มีรูปแบบเดียวกันได้อย่างรวดเร็วและง่ายดาย

Kutools สำหรับ Excel, ที่มีมากกว่า 300 ฟังก์ชั่นที่มีประโยชน์ทำให้งานของคุณง่ายขึ้น 

หลังจาก ติดตั้งฟรี Kutools สำหรับ Excel โปรดทำดังนี้:

1 คลิก Kutools พลัส > แผ่นงาน > คัดลอกแผ่นงาน. ดูภาพหน้าจอ:

doc คัดลอกแผ่นงานหลายแผ่น 1

2 ใน คัดลอกแผ่นงานหลายแผ่น โต้ตอบทำตามด้านล่าง:

(1) ตรวจสอบชื่อแผ่นงานที่คุณต้องการคัดลอกรูปแบบจากกล่องรายการ คัดลอกแผ่นงานที่เลือก;

(2) ระบุจำนวนสำเนา

(3) ระบุสถานที่ที่คุณต้องการใส่สำเนา

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 7

3 คลิก Okกล่องโต้ตอบจะปรากฏขึ้นเพื่อเตือนคุณว่าสร้างสำเนาสำเร็จแล้ว คลิก OK เพื่อปิด

แผ่นงาน doc ที่มีรูปแบบเดียวกัน 8

ตอนนี้คุณสามารถเห็นจำนวนแผ่นงานที่กำหนดด้วยรูปแบบเดียวกัน
doc kutools คัดลอกแผ่นงาน 4

คลิกที่นี่เพื่อทราบรายละเอียดเพิ่มเติมเกี่ยวกับ Copy Multiple Worksheets

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Are you able to add in code to the VBA by automatically changing the sheet name? instead of doing that manually?
This comment was minimized by the moderator on the site
Thank you SO MUCH! I've always created multiple sheets, then copy/paste the data, but that doesn't copy over the "print gridlines" formatting, which I often forget to select. The actual copy/ paste bit doesn't save me that much in actual min:sec, but it saves me so much in aggravation. I love this! I've copied your instructions and will use them every month from now on. Thank you, again!
This comment was minimized by the moderator on the site
I created a file that contains 12 sheets, one for each month. Each month should have the same page format. I finished decorating my page but when I look at each sheet, I realize that only January, March, July, and September were modified. Why did this happen? How do I fix it?
This comment was minimized by the moderator on the site
Which method you use? Both of above methods, you need to format a sheet first, then apply the methods.
This comment was minimized by the moderator on the site
I need multiple copies of the entire WORKBOOK with multiple sheets in each book.
This comment was minimized by the moderator on the site
Directly copy the workbooks and paste them in several copies with different names?
This comment was minimized by the moderator on the site
I NEED TO CREATE TIMESHEETS FOR 25 WORKERS EVERY MONTH USING 1 TIMESHEET FORMAT, HOW DO I CHANGE THE NAMES ONCE SO THAT IT PRINTS ALL 25 TIMSHEETS WITH EACH WORKERS NAME
This comment was minimized by the moderator on the site
You can use Kutools for Excel's Create Sequence Worksheet utility to solve your problem. For more details, you can refer to this site:https://www.extendoffice.com/product/kutools-for-excel/create-sequence-worksheets.html
This comment was minimized by the moderator on the site
I was hoping to do something similar, but wayyy more complicated. Do you have tips?

----
I have to create 79 tabs in excel using a standard template [see below], but that references sequential values in a separate worksheet. We will call the template worksheet "Template" and the worksheet that contains the reference values "Reference". I need help creating a macro to do the following:

1) Copy the template 79 times.


2) Name each new worksheet according to the sequential rows in column F of "Reference" (so the first copy of "Template" would have a name defined in F3 in the "Reference" sheet. the second copy of "Template" would have a name defined by F4, etc. etc. etc).


3) Set the values of cells in the new worksheets (i.e. the copies of "Template") equal to sequential rows in Column A, B, C, D, E of the worksheet "Reference", such that copy 1 of the "Template" references cells A3, B3, C3, D3 and E3; copy 2 of the "Template" references cells A4, B4, C4, D4, E4; etc.
This comment was minimized by the moderator on the site
Firstly, you can use the Split Data utility function of Kutools to split each row or the range to a separate sheet in a new workbook, then copy the column or "reference" which use to name the sheet to one of the sheet in the new workbook, and apply Rename Multiple Worksheet and check From specific range to select the cells you have copied to rename the sheets. Then remove the reference cells.
This comment was minimized by the moderator on the site
I do not why one file is missing after reply~here are the complicated screenshots, 1,3,4,5,6.
This comment was minimized by the moderator on the site
THANK YOU!! I needed 15 copies of a worksheet and it would've taken me ages to do without this. Thanks a million.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations