Skip i'r prif gynnwys

Sut i gopïo taflenni lluosog sawl gwaith yn Excel?

Weithiau, efallai y bydd angen i ni wneud copi neu gopïau lluosog o daflenni gwaith penodol mewn llyfr gwaith. Dyma rai ffyrdd cyflym i'ch helpu chi i gopïo un daflen waith neu daflenni gwaith lluosog sawl gwaith yn Excel.


Gwnewch un copi o daflenni gwaith lluosog un tro yn llyfr gwaith gweithredol neu lyfr gwaith arall gyda gorchymyn Symud neu Gopïo

Efo'r Symud neu Gopïo gorchymyn yn Excel, gallwch wneud un copi o daflen waith, taflenni gwaith penodol lluosog neu'r holl daflenni gwaith yn llyfr gwaith gweithredol neu lyfr gwaith arall ar y tro.

1. Yn y llyfr gwaith penodol lle byddwch chi'n copïo taflenni gwaith, dewiswch daflenni gwaith lluosog ar y bar Taflen Tab.
Nodyn: Dal CTRL allwedd, gallwch ddewis tabiau dalennau nad ydynt yn gyfagos trwy eu clicio fesul un ar y bar Taflen Tab; daliad SHIFT allwedd, gallwch ddewis tabiau dalennau lluosog lluosog trwy glicio ar y tab dalen gyntaf a'r un olaf ar y bar Taflen Tab.

2. Cliciwch ar y dde ar y tab dalen a ddewiswyd ar y bar Sheet Tab, a dewiswch Symud neu Gopïo o'r ddewislen cyd-destun. Gweler y screenshot:
copi doc taflenni lluosog 01

3. Yn y Symud neu Gopïo blwch deialog, nodwch y gosodiadau canlynol:
(1) Nodwch y llyfr gwaith cyrchfan y byddwch chi'n copïo taflenni gwaith ohono o'r I archebu rhestr ostwng. Gallwch ddewis y llyfr gwaith gweithredol, llyfr gwaith agored arall, neu lyfr gwaith newydd yn ôl yr angen.
(2) Nodwch leoliad y taflenni wedi'u copïo ar y bar Taflen Tab, gallwch ddewis ar ôl yr holl daflenni sy'n bodoli.
(3) Gwiriwch Creu copi opsiwn, os na fyddwch yn gwirio'r opsiwn hwn, bydd y taflenni gwaith a ddewiswyd yn cael eu symud i'r llyfr gwaith cyrchfan.
(4) Cliciwch y OK botwm.

Nawr bydd yn gwneud dim ond un copi o'r taflenni gwaith a ddewiswyd i'r llyfr gwaith penodedig. I wneud sawl copi o'r taflenni gwaith hyn, gallwch ailadrodd y llawdriniaeth sawl gwaith.

Dim ond sawl clic i wneud sawl copi o daflenni gwaith lluosog mewn llyfr gwaith gweithredol

Yn gyffredinol, gallwn gopïo taflenni gwaith lluosog gyda'r Symud neu Gopïo nodwedd yn Excel. Fodd bynnag, dim ond un copi y gall y nodwedd hon ei wneud ar y tro. Yma, gyda Kutools ar gyfer Excel's Copi Taflenni Gwaith cyfleustodau, gallwch yn hawdd wneud cymaint o gopïau o lawer o daflenni gwaith ag sydd eu hangen arnoch yn y llyfr gwaith gweithredol gan sawl clic yn unig.


copïo ad taflenni gwaith lluosog 01

Kutools ar gyfer Excel - Supercharge Excel gyda dros 300 o offer hanfodol. Mwynhewch dreial 30 diwrnod llawn sylw AM DDIM heb fod angen cerdyn credyd! Get It Now

Gwnewch gopïau lluosog o un daflen waith benodol yn llyfr gwaith gweithredol gyda chod VBA

Os ydych chi am wneud 10 copi o daflen waith benodol, bydd y Symud neu Gopïo bydd gorchymyn yn ffordd llafurus, a rhaid ichi ailadrodd y llawdriniaeth lawer gwaith. Ond gyda'r cod VBA canlynol, gallwch chi gopïo'r daflen waith yn gyflym 10 gwaith ar unwaith.

1. Daliwch i lawr y ALT + F11 allweddi, ac mae'n agor y Microsoft Visual Basic ar gyfer Ceisiadau ffenestr.

2. Cliciwch Mewnosod > Modiwlau, a gludwch y cod canlynol yn y Ffenestr Modiwl.

VBA: Gwnewch gopïau lluosog o daflenni gwaith penodol yn llyfr gwaith gweithredol

Sub Copier ()
Dim x As Integer
x = InputBox("Enter number of times to copy Sheet1")
For numtimes = 1 To x
ActiveWorkbook.Sheets("Sheet1").Copy _
After:=ActiveWorkbook.Sheets("Sheet1")
Next
End Sub

Nodyn: Yn y cod uchod, disodli "Sheet1"gydag enw'r ddalen i'w chopïo.

3. Yna pwyswch F5 yn allweddol i redeg y cod, mae'n ymddangos bod blwch prydlon yn gofyn i chi nifer y copïau dalen rydych chi eu heisiau.

4. Yna cliciwch OK, mae'r daflen waith benodol wedi'i chopïo 100 gwaith yn y llyfr gwaith gweithredol.


Gwnewch gopïau lluosog o daflenni gwaith lluosog i mewn i lyfr gwaith gweithredol gyda Kutools ar gyfer Excel

Er ei bod yn syml gwneud copi o daflenni gwaith lluosog yn Excel, os ydych chi am wneud sawl copi o daflenni gwaith lluosog yn y llyfr gwaith cyfredol, efallai y bydd yn rhaid i chi ddefnyddio'r Symud neu Gopïo eitem orchymyn dro ar ôl tro. Hoffech chi wneud y peth mewn un clic? Efo'r Copi Taflenni Gwaith cyfleustodau ychwanegiad trydydd parti Kutools ar gyfer Excel, gallwch wneud sawl copi o daflenni gwaith lluosog mewn un clic yn Excel.

Kutools ar gyfer Excel - Supercharge Excel gyda dros 300 o offer hanfodol. Mwynhewch dreial 30 diwrnod llawn sylw AM DDIM heb fod angen cerdyn credyd! Get It Now

1. Cliciwch Kutools Byd Gwaith > Copi Taflenni Gwaith. Gweler y screenshot:

Nodyn: Clicio Kutools Byd Gwaith > Taflen Waith > Copi Taflenni Gwaith hefyd yn cael y nodwedd hon.

2. Cymhwyso gosodiadau yn y Copïwch Daflenni Gwaith Lluosog blwch deialog:
(1) Gwiriwch y taflenni gwaith rydych chi am gael copi ohonynt Copïwch y taflenni gwaith a ddewiswyd adran hon.
(2) Nodwch Nifer y copïau.
(3) Darganfyddwch leoliad y taflenni a gopïwyd, er enghraifft, cyn neu ar ôl yr holl daflenni gwaith, cyn neu ar ôl y daflen waith gyfredol.
(4) Cliciwch y Ok botwm.

3. Mae blwch prydlon yn galw allan i'ch atgoffa bod y taflenni gwaith wedi'u gwirio wedi'u copïo sawl gwaith yn ôl yr angen, cliciwch ar y OK botwm i'w adael. Gweler y screenshot:

Mae hyn yn Copïwch Daflenni Gwaith Lluosog nodwedd o Kutools ar gyfer Excel yn gwneud sawl copi o daflenni gwaith penodedig lluosog yn y llyfr gwaith gweithredol gyda sawl clic yn unig. Cael Treial Am Ddim!


Gwnewch un copi o daflenni gwaith lluosog o lyfrau gwaith lluosog yn un newydd

Os oes gennych chi Kutools ar gyfer Excel wedi'i osod, gallwch chi hefyd gymhwyso ei Cyfuno Taflenni Gwaith nodwedd i wneud un copi o daflenni gwaith lluosog o lyfrau gwaith caeedig lluosog i mewn i lyfr gwaith newydd gyda sawl clic yn Excel yn unig.

Kutools ar gyfer Excel - Supercharge Excel gyda dros 300 o offer hanfodol. Mwynhewch dreial 30 diwrnod llawn sylw AM DDIM heb fod angen cerdyn credyd! Get It Now

1. Cliciwch Kutools Byd Gwaith > Cyfunwch i actifadu'r nodwedd Cyfuno Taflenni Gwaith.

2. Yn y Taflenni Gwaith Cyfuno - Dewin Cam 1 o 3, gwiriwch y Cyfuno nifer o daflenni gwaith o lyfrau gwaith yn un daflen waith opsiwn, a chliciwch ar y Digwyddiadau botwm. Gweler y screenshot:

3. Yn y Taflenni Gwaith Cyfuno - Dewin Cam 2 o 3, gwnewch fel a ganlyn y llun a ddangosir:
(1) Cliciwch Ychwanegu > Ffeil or Ffolder i ychwanegu llyfrau gwaith byddwch yn copïo taflenni gwaith ohonynt.
(2) Yn y Rhestr llyfr gwaith adran, gwiriwch y llyfr gwaith y byddwch chi'n copïo ei daflenni gwaith;
(3) Yn y Rhestr taflen waith adran, gwiriwch y taflenni gwaith y byddwch chi'n eu copïo;
(4) Ailadroddwch uchod (2) ac (3) i ddewis taflenni gwaith o lyfrau gwaith eraill y byddwch yn eu copïo.
(5) Cliciwch y Digwyddiadau botwm.

4. Yn y Taflenni Gwaith Cyfuno - Dewin Cam 3 o 3, ffurfweddwch y gosodiadau copïo yn ôl yr angen, a chliciwch ar y Gorffen botwm.

5. Nawr yn y dialog newydd, nodwch ffolder cyrchfan i achub y llyfr gwaith newydd, enwwch y llyfr gwaith newydd yn y enw ffeil blwch, a chliciwch ar y Save botwm. Gweler y screenshot:

Nawr bydd dau flwch deialog arall yn dod allan ac yn gofyn ichi agor y llyfr gwaith newydd ac arbed y senario cyfuniad, cliciwch botymau yn ôl yr angen. Hyd yn hyn, mae wedi copïo'r holl daflenni gwaith penodedig o sawl llyfr gwaith ar y tro.

Gyda hyn Cyfuno (Taflenni Gwaith) cyfleustodau, gallwch chi gopïo a chyfuno taflenni gwaith a llyfrau gwaith yn hawdd fel y dangosir y rhestr ganlynol. Cael Treial Am Ddim!
(1) Cyfuno nifer o daflenni gwaith / ystodau o lyfrau gwaith yn gyflym i un daflen waith;
(2) Uno / cyfuno'r holl daflenni gwaith o'r un enw yn gyflym ar draws llyfrau gwaith yn un daflen waith;
(3) Uno / cyfuno taflenni gwaith neu lyfrau gwaith yn gyflym mewn un llyfr gwaith;
(4) Crynhoi / cyfrifo data o daflenni gwaith lluosog yn gyflym i un daflen waith.

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (25)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I am new to this I am just trying to make copies of the same sheet this is the code I am using. Sub Copier() Dim s As String Dim numtimes As Integer Dim numCopies As Integer numCopies = InputBox("How many copies do you need?") s = InputBox("Enter the name of the Worksheet you want to copy") For numtimes = 1 To numCopies ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) Next End Sub when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.
This comment was minimized by the moderator on the site
Working Code

Sub Copier()
Dim s As String
Dim numtimes As Integer
Dim numCopies As Integer
numCopies = InputBox("How many copies do you need?")
s = InputBox("Enter the name of the Worksheet you want to copy")
For numtimes = 1 To numCopies
ActiveWorkbook.Sheets(s).Copy After:=ActiveWorkbook.Sheets(Worksheets.Count)
Next
End Sub

copy the entire line from ActiveWorkbook.Sheets...... that was the problem, and some spaces

Have a great day
This comment was minimized by the moderator on the site
[quote]I am new to this I am just trying to make copies of the same sheet this is the code I am using. Sub Copier() Dim s As String Dim numtimes As Integer Dim numCopies As Integer numCopies = InputBox("How many copies do you need?") s = InputBox("Enter the name of the Worksheet you want to copy") For numtimes = 1 To numCopies ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) Next End Sub when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.By Tyler Dempsey[/quote] Here is the exact code you want to use: Sub Copier() Dim s As String Dim numtimes As Integer Dim numCopies As Integer numCopies = InputBox("How many copies do you need?") s = InputBox("Enter the name of the Worksheet you want to copy") For numtimes = 1 To numCopies ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Count) Next End Sub
This comment was minimized by the moderator on the site
Thank you, the last one saved my life :)
This comment was minimized by the moderator on the site
[quote]I am new to this I am just trying to make copies of the same sheet this is the code I am using. Sub Copier() Dim s As String Dim numtimes As Integer Dim numCopies As Integer numCopies = InputBox("How many copies do you need?") s = InputBox("Enter the name of the Worksheet you want to copy") For numtimes = 1 To numCopies ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) Next End Sub when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.By Tyler Dempsey[/quote] Double check your code and make sure you don't have a space at ActiveWorkbook. Sheets(s).Copy _ or at Sheets(Worksheets.Cou nt)
This comment was minimized by the moderator on the site
Fantastic VBA code - really helped
This comment was minimized by the moderator on the site
When I first tried it, I got the error message because I didn't change the name Sheet1. After I realized what caused the error, I researched a little further, as I did not want to be manually entering the sheet name into the macro. And when I need this feature, it is almost always for the current sheet. I added the line a = activesheet.name And revised the line after:=activeworkbook.sheets("sheet1") to activeworkbook.sheets(a).copy _ That worked very well, but I did notice the numbering was reversed ... that didn't bother me as I was going to manually rename the new sheets anyway. When I saw Schuyler's post, I further revised the line activeworkbook.sheets(a).copy _ to after:=activeworkbook.sheets(worksheets.count) I am now satisfied with the result. My finished macro: Sub copies() Dim x As Integer x = InputBox("Enter number of times to copy Sheet1") For numtimes = 1 To x ActiveWorkbook.Sheets("Sheet1").Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Count) Next End Sub --- All the best, Barry
This comment was minimized by the moderator on the site
i got syntax error on "After:=ActiveWorkbook.Sheets(Worksheets.Count)


but i dunno whats wrong... Can u help me please?
This comment was minimized by the moderator on the site
Thank you so much Barry. Your finished macro is the only thing that worked for me.
This comment was minimized by the moderator on the site
where i will insert this above code in vba should i create common button then inside ?? regards.
This comment was minimized by the moderator on the site
Follow the below steps:
1. Copy the above code
2. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
4.Then press F5 key to run the code
5.A prompt box appears to ask you the number of sheet copies you want.
This comment was minimized by the moderator on the site
I get an error that 'numtimes' is not defined...?
This comment was minimized by the moderator on the site
I got the same error as Theou and no one seems to have addressed it. My tabs are already named PO 51, PO 52, etc. and I replaced Sheet1 with PO 51 to copy that and got the subscript error out of range (9) I followed Schuyler's code to get the right order, but I still get the error and it's always due to these two lines: ActiveWorkbook.Sheets(s).Copy _ Before:=ActiveWorkbook.Sheets(Worksheets.Count)
This comment was minimized by the moderator on the site
[quote]I got the same error as Theou and no one seems to have addressed it. My tabs are already named PO 51, PO 52, etc. and I replaced Sheet1 with PO 51 to copy that and got the subscript error out of range (9) I followed Schuyler's code to get the right order, but I still get the error and it's always due to these two lines: ActiveWorkbook.Sheets(s).Copy _ Before:=ActiveWorkbook.Sheets(Worksheets.Count)By Debbi[/quote] Can you include your complete code to make it easier to debug? A "subscript error out of range" usually means that the code references something that doesn't exist. I find this in my own code when I've got a typo or something of that nature.
This comment was minimized by the moderator on the site
how to copy with same column widths
This comment was minimized by the moderator on the site
Same column widths as the original Worksheet or do you want all of the column widths to be the same?
This comment was minimized by the moderator on the site
yes it works thanks I have successfully make multiple copies of a single worksheet in same workbook by using vba code thnx a lot.
This comment was minimized by the moderator on the site
Search for word "After" and change it to "Before". This will create copies in right order "Before" Sheet1. The only thing to rememeber is that numbering will always start from (2) as the original sheet will always be counted as 1st copy. Also you can replace "Sheet1" with name of the tab you are trying to copy.
This comment was minimized by the moderator on the site
[quote]Using the VBA code, the naming of the duplicated worksheets is in reverse order. Let's say I make 10 copies of Sheet1, I'll end up with Sheet1, Sheet1(10), Sheet1(9), Sheet1(8),.......is it possible to have them in normal order?By MichaelTadashi[/quote] Anyone was able to answer this question? I need to create 72 copies, but it would be needed to have them in order (1 throught 72, intead of 72 through 1) Thanks!
This comment was minimized by the moderator on the site
[quote][quote]Using the VBA code, the naming of the duplicated worksheets is in reverse order. Let's say I make 10 copies of Sheet1, I'll end up with Sheet1, Sheet1(10), Sheet1(9), Sheet1(8),.......is it possible to have them in normal order?By juan[/quote] Anyone was able to answer this question? I need to create 72 copies, but it would be needed to have them in order (1 throught 72, intead of 72 through 1) Thanks!By MichaelTadashi[/quote]e] If you want the sheet copies to be in sequential order instead of backwards, change the following line... After:=ActiveWorkbook.Sheets("Sheet1") to this... After:=ActiveWorkbook.Sheets(Worksheets.Count) My completed code looked like the following which uses 2 InputBox prompts to allow for a dynamic copy count and worksheet name.. Sub Copier() Dim s As String Dim numtimes As Integer Dim numCopies As Integer numCopies = InputBox("How many copies do you need?") s = InputBox("Enter the name of the Worksheet you want to copy") For numtimes = 1 To numCopies ActiveWorkbook.Sheets(s).Copy _ After:=ActiveWorkbook.Sheets(Worksheets.Count) Next End Sub
This comment was minimized by the moderator on the site
How do i get the coppies continuous numbered. If the sheet i want to copy is named I002, and i want the next to be named I003,I004,I005 an so on.
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