Gå til hovedindhold

Hvordan oprettes hurtigt flere ark med samme format i Excel?

For eksempel har du oprettet et ark med en bestemt formatering, og nu vil du oprette flere ark med samme format som dette ark, hvordan kan du hurtigt løse denne opgave i Excel? Denne vejledning taler om metoder til at oprette flere ark med samme format.

Opret ark med samme format ved at flytte eller kopiere

Opret ark med samme format af VBA

Opret ark med samme format ved at kopiere flere regneark af Kutools til Excel god idé3


Opret ark med samme format ved at flytte eller kopiere

I Excel kan du bruge kommandoen Flyt eller Kopi til at oprette et ark med samme format som det ark, du vælger.

1. Klik på arket med det format, du har brug for på Ark faneblad, og højreklik for at vælge Flyt eller Kopier fra genvejsmenuen. Se skærmbillede:

dokumentark med samme format 1

2. Kontroller derefter i poppedialogen Opret en kopi mulighed. Se skærmbillede:

dokumentark med samme format 2

3. klik OK. Et nyt ark oprettes med samme format foran på det valgte ark. Se skærmbillede:

dokumentark med samme format 3

Bemærk:

(1) Du kan også klikke Home > dannet > Flyt eller kopier ark at aktivere Flyt eller Kopier dialogen.

(2) Med denne metode vil det være tidskrævende, når du har brug for at oprette hundreder af ark med samme format.


Opret ark med samme format af VBA

Der er en VBA-kode, der kan hjælpe dig med hurtigt at oprette flere ark med samme format på én gang.

1. Trykke Alt + F11 taster for at åbne Microsoft Visual Basic til applikationer vindue, og klik derefter på indsatte > Moduler, kopier og indsæt nedenstående kode til Moduler vindue.

VBA: Opret ark med samme format.

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. Trykke F5 nøgle til at køre VBA-koden, så vises en dialogboks, hvor du kan skrive det regnearknavn, du har brug for for at kopiere dets format.

dokumentark med samme format 4

3. klik OK, og angiv antallet af kopier, du har brug for, i en anden poppedialog. Se skærmbillede:

dokumentark med samme format 5

4. klik OK. Derefter er der seks eksemplarer af regneark med det samme format oprettet.


Opret ark med samme format ved at kopiere flere regneark af Kutools til Excel

Hvis du ikke kan lide at bruge VBA, introducerer jeg dig her et praktisk værktøj - Kutools til Excel, kan du bruge dens Kopier regneark værktøj til hurtigt og nemt at oprette ark med samme format.

Kutools til Excel, med mere end 300 praktiske funktioner, der gør dine job lettere. 

Efter gratis installation Kutools til Excel, gør venligst som nedenfor:

1. klik Kutools Plus > Arbejdsark > Kopier regneark. Se skærmbillede:

doc kopier flere regneark 1

2. i Kopier flere regneark dialog, gør som nedenfor:

(1) Kontroller det regnearknavn, du vil kopiere dets format fra listeboksen til Kopier de valgte regneark;

(2) Angiv antallet af kopierne;

(3) Angiv det sted, du vil lægge kopierne på.

dokumentark med samme format 7

3. klik Ok, der vises en dialogboks, der minder dig om, at kopierne blev oprettet. Klik på OK at lukke det.

dokumentark med samme format 8

Nu kan du se det angivne antal ark er oprettet med samme format.
doc kutools kopier regneark 4

Klik her for at få flere oplysninger om kopiering af flere regneark

Bedste kontorproduktivitetsværktøjer

🤖 Kutools AI Aide: Revolutionér dataanalyse baseret på: Intelligent udførelse   |  Generer kode  |  Opret brugerdefinerede formler  |  Analyser data og generer diagrammer  |  Aktiver Kutools funktioner...
Populære funktioner: Find, fremhæv eller identificer dubletter   |  Slet tomme rækker   |  Kombiner kolonner eller celler uden at miste data   |   Runde uden formel ...
Super opslag: VLookup med flere kriterier    Multiple Value VLookup  |   VOpslag på tværs af flere ark   |   Fuzzy Lookup ....
Avanceret rulleliste: Opret hurtigt rulleliste   |  Afhængig rulleliste   |  Multivælg rulleliste ....
Column Manager: Tilføj et bestemt antal kolonner  |  Flyt kolonner  |  Skift synlighedsstatus for skjulte kolonner  |  Sammenlign områder og kolonner ...
Fremhævede funktioner: Grid fokus   |  Designvisning   |   Stor Formel Bar    Arbejdsbog & Ark Manager   |  Ressourcebibliotek (Autotekst)   |  Datovælger   |  Kombiner regneark   |  Krypter/Dekrypter celler    Send e-mails efter liste   |  Superfilter   |   Specielt filter (filter fed/kursiv/gennemstreget...) ...
Top 15 værktøjssæt12 tekst Værktøjer (tilføje tekst, Fjern tegn, ...)   |   50 + Chart Typer (Gantt kort, ...)   |   40+ Praktisk formler (Beregn alder baseret på fødselsdag, ...)   |   19 Indsættelse Værktøjer (Indsæt QR-kode, Indsæt billede fra sti, ...)   |   12 Konvertering Værktøjer (Tal til ord, Valutaomregning, ...)   |   7 Flet og del Værktøjer (Avancerede kombinere rækker, Opdel celler, ...)   |   ... og mere

Overlad dine Excel-færdigheder med Kutools til Excel, og oplev effektivitet som aldrig før. Kutools til Excel tilbyder over 300 avancerede funktioner for at øge produktiviteten og spare tid.  Klik her for at få den funktion, du har mest brug for...

Beskrivelse


Fanen Office bringer en grænseflade til et kontor med Office, og gør dit arbejde meget lettere

  • Aktiver redigering og læsning af faner i Word, Excel, PowerPoint, Publisher, Access, Visio og Project.
  • Åbn og opret flere dokumenter i nye faner i det samme vindue snarere end i nye vinduer.
  • Øger din produktivitet med 50 % og reducerer hundredvis af museklik for dig hver dag!
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