Skip to main content

Conas bileoga iolracha a chruthú go tapa leis an bhformáid chéanna in Excel?

Mar shampla, chruthaigh tú bileog le formáidiú sonrach, agus anois ba mhaith leat iliomad bileoga a chruthú leis an bhformáid chéanna leis an mbileog seo, conas a d’fhéadfá an tasc seo a réiteach go tapa in Excel? Tá an rang teagaisc seo ag caint ar mhodhanna chun ilbhileoga a chruthú leis an bhformáid chéanna.

Cruthaigh bileoga leis an bhformáid chéanna trí Bog nó Cóipeáil

Cruthaigh bileoga leis an bhformáid chéanna le VBA

Cruthaigh bileoga leis an bhformáid chéanna le Cóipeáil Bileoga Oibre Il de Kutools le haghaidh Excel smaoineamh maith3


Cruthaigh bileoga leis an bhformáid chéanna trí Bog nó Cóipeáil

In Excel, is féidir leat an t-ordú Bog nó Cóipeáil a úsáid chun bileog a chruthú leis an bhformáid chéanna leis an mbileog a roghnaíonn tú.

1. Cliceáil ar an mbileog atá leis an bhformáid atá uait ar an Barra Tab Bileog, agus cliceáil ar dheis chun roghnú Bog nó Cóipeáil ón roghchlár comhthéacs. Féach an pictiúr:

bileog doc leis an bhformáid chéanna 1

2. Ansin sa dialóg popping, seiceáil Cruthaigh cóip rogha. Féach an pictiúr:

bileog doc leis an bhformáid chéanna 2

3. cliceáil OK. Cruthaítear bileog nua leis an bhformáid chéanna os comhair an bhileog roghnaithe. Féach an pictiúr:

bileog doc leis an bhformáid chéanna 3

nótaí:

(1) Is féidir leat cliceáil freisin Baile > déanta > Bileog Bog nó Cóipeáil chun a chumasú Bog nó Cóipeáil dialóg.

(2) Leis an modh seo glacfaidh sé go leor ama nuair is gá duit na céadta bileog a chruthú leis an bhformáid chéanna.


Cruthaigh bileoga leis an bhformáid chéanna le VBA

Tá cód VBA ann a chabhróidh leat go leor bileoga a chruthú go tapa leis an bhformáid chéanna ag an am céanna.

1. Brúigh Alt + F11 eochracha le hoscailt Microsoft Visual Basic d’Fheidhmchláir fuinneog, ansin cliceáil Ionsáigh > Modúil, cóipeáil agus greamaigh thíos an cód leis an Modúil fhuinneog.

VBA: Cruthaigh bileoga leis an bhformáid chéanna.

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. Brúigh F5 eochair chun an cód VBA a rith, ansin tagann dialóg amach duit chun ainm an bhileog oibre a chlóscríobh a theastaíonn uait chun a fhormáid a chóipeáil.

bileog doc leis an bhformáid chéanna 4

3. cliceáil OK, agus sonraigh líon na gcóipeanna a theastaíonn uait i dialóg popping eile. Féach an pictiúr:

bileog doc leis an bhformáid chéanna 5

4. cliceáil OK. Ansin cruthaítear sé chóip de bhileoga oibre leis an bhformáid chéanna.


Cruthaigh bileoga leis an bhformáid chéanna le Cóipeáil Bileoga Oibre Il de Kutools le haghaidh Excel

Mura dtaitníonn VBA leat, tugann mé uirlis áisiúil duit anseo - Kutools le haghaidh Excel, is féidir leat a Cóipeáil Bileoga Oibre fóntais chun bileoga a chruthú go tapa agus go héasca leis an bhformáid chéanna.

Kutools le haghaidh Excel, le níos mó ná 300 feidhmeanna úsáideacha, déanann sé do phoist níos éasca. 

Tar éis suiteáil saor in aisce Kutools for Excel, déan mar atá thíos le do thoil:

1. cliceáil Kutools Plus > Bileog Oibre > Cóipeáil Bileoga Oibre. Féach an pictiúr:

cóipeáil doc ilbhileog oibre 1

2. Sa Cóipeáil Bileoga Oibre Il dialóg, déan mar atá thíos:

(1) Seiceáil ainm na bileoige oibre ar mhaith leat a fhormáid a chóipeáil ón mbosca liosta de Cóipeáil na bileoga oibre roghnaithe;

(2) Sonraigh líon na gcóipeanna;

(3) Sonraigh an áit ar mhaith leat na cóipeanna a chur.

bileog doc leis an bhformáid chéanna 7

3. cliceáil Ok, tagann dialóg amach le cur i gcuimhne duit go gcruthófar na cóipeanna go rathúil. Cliceáil OK a dhúnadh.

bileog doc leis an bhformáid chéanna 8

Anois feiceann tú gur cruthaíodh an líon sonraithe bileoga leis an bhformáid chéanna.
cóipeanna doc kutools bileoga oibre 4

Cliceáil anseo chun tuilleadh sonraí a fháil faoi Cóipeáil Bileoga Oibre Il

Uirlisí Táirgiúlachta Oifige is Fearr

🤖 Kutools AI Aide: anailís sonraí a réabhlóidiú bunaithe ar: Forghníomhú Chliste   |  Gin Cód  |  Cruthaigh Foirmlí Saincheaptha  |  Anailís a dhéanamh ar Sonraí agus Cairteacha a Ghin  |  Feidhmeanna Kutools a agairt...
Gnéithe Coitianta: Faigh, Aibhsigh nó Aithnigh Dúblaigh   |  Scrios Sraitheanna Bána   |  Comhcheangail Colúin nó Cealla gan Sonraí a Chailleadh   |   Babhta gan Foirmle ...
Cuardaigh Super: Ilchritéir VLookup    VLookup Illuachanna  |   VLookup Trasna Ilbhileoga   |   Amharc doiléir ....
Liosta anuas Casta: Go tapa Cruthaigh Liosta Anuas   |  Liosta anuas Cleithiúnach   |  Liosta Buail Isteach Ilroghnacha ....
Bainisteoir Colún: Cuir Líon Sonrach Colún leis  |  Colúin Bog  |  Scoránaigh Stádas Infheictheachta na gColún Ceilte  |  Déan comparáid idir Raonta & Colúin ...
Gnéithe Réadmhaoin: Fócas Eangaí   |  Amharc Dearaidh   |   Barra Mór na Foirmle    Leabhar Oibre & Bainisteoir Bileog   |  Leabharlann Acmhainní (Uaththéacs)   |  Piocálaí Dáta   |  Comhcheangail Bileoga Oibre   |  Criptigh/Díchriptigh Cealla    Seol Ríomhphost trí Liosta   |  Scagaire Super   |   Scagaire Speisialta (scagaire trom/iodálach/stailc tríd...) ...
Barr 15 Uirlisí12 Téacs uirlisí (Cuir Téacs, Bain Carachtair,...)   |   50 + Cairt cineálacha (Cairt Gantt,...)   |   40+ Praiticiúil Foirmlí (Ríomh aois bunaithe ar lá breithe,...)   |   19 Insertion uirlisí (Cuir isteach Cód QR, Ionsáigh Pictiúr ón gCosán,...)   |   12 Tiontú uirlisí (Uimhreacha le Focail, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Supercharge Do Scileanna Excel le Kutools le haghaidh Excel, agus Éifeachtúlacht Taithí Cosúil Ná Roimhe. Kutools le haghaidh Excel Tairiscintí Níos mó ná 300 Ardghnéithe chun Táirgiúlacht a Treisiú agus Sábháil Am.  Cliceáil anseo chun an ghné is mó a theastaíonn uait a fháil ...

Tuairisc


Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
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