Skip to main content

Conas tagairt a dhéanamh d’ainm cluaisín i gcill in Excel?

Chun tagairt a dhéanamh d’ainm reatha an chluaisín bhileog i gcill in Excel, is féidir leat é a dhéanamh le foirmle nó le Feidhm Sainmhínithe Úsáideora. Treoróidh an rang teagaisc seo tú mar a leanas.

Déan tagairt don ainm reatha cluaisín bileog i gcill le foirmle
Déan tagairt don ainm reatha cluaisín bileog i gcill le Feidhm Sainmhínigh Úsáideoir
Déan tagairt go héasca d’ainm reatha an chluaisín bhileog i gcill le Kutools for Excel


Déan tagairt don ainm reatha cluaisín bileog i gcill le foirmle

Déan mar a leanas le do thoil chun tagairt a dhéanamh don ainm gníomhach cluaisín bileog i gcill ar leith in Excel.

1. Roghnaigh cill bhán, cóipeáil agus greamaigh an fhoirmle = MID (CELL ("ainm comhaid", A1), FIND ("]", CELL ("ainm comhaid", A1)) + 1,255) isteach sa Bharra Foirmle, agus brúigh an Iontráil eochair. Féach an pictiúr:

Anois déantar tagairt don ainm cluaisín bileog sa chill.

Cuir ainm cluaisín isteach i gcill, ceanntásc nó buntásc ar leith sa bhileog oibre:

An Kutools le haghaidh Excel's Cuir isteach Eolas faoin Leabhar Oibre cuidíonn fóntais le hainm cluaisín gníomhach a chur isteach i gcill ar leith. Thairis sin, is féidir leat ainm an leabhair oibre, cosán an leabhair oibre, ainm úsáideora srl. A chur isteach i gcill, ceanntásc nó buntásc an bhileog oibre de réir mar is gá duit. Cliceáil le haghaidh sonraí.
Íoslódáil Kutools le haghaidh Excel Anois! (tras saor in aisce 30-lá)


Déan tagairt don ainm reatha cluaisín bileog i gcill le Feidhm Sainmhínigh Úsáideoir

Chomh maith leis an modh thuas, is féidir leat ainm an chluaisín leatháin a thagairt i gcill le Feidhm Sainmhínigh Úsáideoir.

1. Brúigh Eile + F11 a oscailt Microsoft Visual Basic d’Fheidhmchláir fhuinneog.

2. Sa Microsoft Visual Basic d’Fheidhmchláir fuinneog, cliceáil Ionsáigh > Modúil. Féach an pictiúr:

3. Cóipeáil agus greamaigh an cód thíos i bhfuinneog an Chóid. Agus ansin brúigh Eile + Q eochracha chun an Microsoft Visual Basic d’Fheidhmchláir fhuinneog.

Cód VBA: ainm cluaisín tagartha

Function TabName()
  TabName = ActiveSheet.Name
End Function

4. Téigh go dtí an cill ar mhaith leat tagairt a dhéanamh d’ainm reatha an chluaisín bhileog, iontráil le do thoil = TabName () agus ansin brúigh an Iontráil eochair. Ansin taispeánfar ainm cluaisín an bhileog reatha sa chill.


Déan tagairt don ainm cluaisín bileog reatha i gcill le Kutools for Excel

Leis an Cuir isteach Eolas faoin Leabhar Oibre fóntais de Kutools le haghaidh Excel, is féidir leat tagairt go héasca d’ainm an chluaisín bileog in aon chill is mian leat. Déan mar a leanas le do thoil.

1. cliceáil Kutools Plus > Leabhar Oibre > Cuir isteach Eolas faoin Leabhar Oibre. Féach an pictiúr:

2. Sa Cuir isteach Eolas faoin Leabhar Oibre dialóg, roghnaigh Ainm na bileoige oibre sa Eolas alt, agus sa Ionsáigh ag alt, roghnaigh an Raon rogha, agus ansin roghnaigh cill bhán chun ainm na bileoige a aimsiú, agus ar deireadh cliceáil ar an OK cnaipe.

Feiceann tú go ndéantar tagairt d’ainm reatha na bileoige sa chill roghnaithe. Féach an pictiúr:

  Más mian leat triail saor in aisce (30 lá) a bheith agat ar an bhfóntas seo, cliceáil le do thoil chun é a íoslódáil, agus ansin téigh chun an oibríocht a chur i bhfeidhm de réir na gcéimeanna thuas.


Taispeántas: Déan tagairt go héasca d’ainm reatha an chluaisín bhileog i gcill le Kutools for Excel

Kutools le haghaidh Excel Cuimsíonn sé níos mó ná 300 uirlis áisiúil Excel. Saor chun triail a dhéanamh gan aon teorannú i 30 lá. Íoslódáil an triail saor in aisce anois!

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 (24)
Rated 0.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
sorry your formulas and everything are incorrect on this page.
after direct copy/paste your THEORIES were WRONG
ZERO OUT OF TWO ATTEMPTS WORKED USING YOUR SUGGESTIONS
Rated 0.5 out of 5
This comment was minimized by the moderator on the site
Hi Julia,
What kind of erro did you get?
To be mentioned, the formula provided in the post can only be applied in English system environment Excel. If you have Excel in a different language than English, please convert the formula from English to the language you are currently using.
You can translate the formula in this page: https://de.excel-translator.de/translator/
This comment was minimized by the moderator on the site
The formula at the top won't work until you save the file to your hard drive.
This comment was minimized by the moderator on the site
If you're using Excel Online. I found a solution for this issue.

You need to use 2 cells to make it work. As long as you have a cell that has the reference of a tab in its name, you can use FORMULATEXT() to turn that cells formula into a string and then extract the name that way. I can't imagine a scenario where you will want to reference another sheet and you wont already have a cell referencing that sheet for information on it, but you can always just make a blank/hidden (however you want to do it) cell that is just referencing the other sheet to set this formula up. In the below example, it is referencing cell B1 and cell B1 just contains =Sheet2!A1 as a reference to the sheet I want to name. If you use a name for a sheet with a space in it (example: Sheet 1) it would show up as (='Sheet 1'A1). I used an IF function and an ISERROR function to search if the string contains a space or not and two MID functions to extract the name of the sheet from both scenarios. If you update the name of the referenced sheet, cell B1 will change its formula and subsequently change the string and output the correct name each time.

=IF(ISERROR(FIND(" ",FORMULATEXT(B1))),MID(FORMULATEXT(B1),2,FIND("!",FORMULATEXT(B1))-2),MID(FORMULATEXT(B1),3,FIND("!",FORMULATEXT(B1))-4))
This comment was minimized by the moderator on the site
If you're using Excel Online. I found a solution for this issue.

You need to use 2 cells to make it work. As long as you have a cell that has the reference of a tab in its name, you can use FORMULATEXT() to turn that cells formula into a string and then extract the name that way. I can't imagine a scenario where you will want to reference another sheet and you wont already have a cell referencing that sheet for information on it, but you can always just make a blank/hidden (however you want to do it) cell that is just referencing the other sheet to set this formula up. In the below example, it is referencing cell B1 and cell B1 just contains =Sheet2!A1 as a reference to the sheet I want to name. If you use a name for a sheet with a space in it (example: Sheet 1) it would show up as (='Sheet 1'A1). I used an IF function and an ISERROR function to search if the string contains a space or not and two MID functions to extract the name of the sheet from both scenarios. If you update the name of the referenced sheet, cell B1 will change its formula and subsequently change the string and output the correct name each time.

=IF(ISERROR(FIND(" ",FORMULATEXT(B1))),MID(FORMULATEXT(B1),2,FIND("!",FORMULATEXT(B1))-2),MID(FORMULATEXT(B1),3,FIND("!",FORMULATEXT(B1))-4))
This comment was minimized by the moderator on the site
What I really want is to name some tabs using with the names on some cells from another sheet (same document of course). How can I do that?
This comment was minimized by the moderator on the site
Hi, I used the above suggestions but the first formula to reference the tab sheet name will not work on "excel" online. The second works, but the "Tabname" keeps showing the same tab name for all tabs on the workbook.
This comment was minimized by the moderator on the site
Hi,
Sorry we didn't test in excel online. Can't help you with that yet. Thank you for your comment.
This comment was minimized by the moderator on the site
hello, i am having trouble referencing a sheet name into a cell with online excel
This comment was minimized by the moderator on the site
Excellent, thanks! Per: Reference the current sheet tab name in cell with formula
This comment was minimized by the moderator on the site
Sorry, the comment line is wrong - should be Ctrl-Alt-Shift-F9
This comment was minimized by the moderator on the site
FYI, you need to have more than one sheet in your workbook for this to work. Otherwise, the formula will display the filename but no sheet name.
This comment was minimized by the moderator on the site
Good Day,
Thank you for your comment. I have tested the formula in a workbook that has only one sheet, but everything was running smoothly. The formula only displays the sheet name no matter how many worksheets existing in a workbook.
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