メインコンテンツへスキップ

Excelで複数のワークシートの名前を変更するにはどうすればよいですか?

通常、Excelでワークシートの名前を変更するには、シートタブをすばやくダブルクリックするか、シートタブを右クリックして、ワークシートの名前を変更するための[名前の変更]コマンドを選択します。 これは、ExcelでXNUMXつまたはXNUMXつのワークシートの名前を変更するのに非常に便利ですが、XNUMX回の操作で複数のワークシートの名前を変更する場合は、どうすればよいでしょうか。

doc名前変更ワークシート6

Renameコマンドを使用してワークシートの名前を変更する

便利なツールを使用して、複数のワークシートの名前を快適に変更できます

複数のワークシートの名前を変更するためのVBAコードの使用


Renameコマンドを使用してワークシートの名前を変更する


Excelのワークシートの名前をすばやく変更できます。 リネーム 次の手順に従ってコマンドを実行します。

名前を変更するシートタブを右クリックして、 リネーム 右クリックメニューからのコマンド。 または、シートタブをダブルクリックして、ワークシートの名前を変更します。 次に、新しい名前を入力して、を押します 入力します 名前を変更するためのキー。スクリーンショットを参照してください。

これに リネーム コマンドを使用すると、一度にXNUMXつのワークシートにしか名前を変更できません。複数のワークシートの名前を変更するために、上記の操作を繰り返してください。

各シート内の指定されたテキスト、セル値、または特定のセル値を使用して、複数のワーシートの名前を簡単に変更できます。

Kutools for Excelの複数のワークシートの名前を変更ユーティリティを使用すると、Excelで複数のワークシートの名前を同時に簡単に変更できます。 今すぐ 30 日間の全機能を無料でお試しください!

Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手


便利なツールを使用して、複数のワークシートの名前を快適に変更できます

Kutools for Excelの複数のワークシートの名前変更ツールは、現在のワークブックのすべてのワークシートまたは選択した特定のワークシートの名前を変更するのに非常に便利です。

このツールを使用すると、既存のワークシート名の前後にコンテンツを追加したり、元のシート名を新しい名前に置き換えたりして、すべてのワークシートまたは選択した特定のワークシートの名前をすばやく変更できます。 範囲セルの内容を使用して、すべてのワークシートまたは選択したワークシートの名前を変更することもできます。

Kutools for Excelのダウンロードとインストールクツールズプラス > ワークシート > ワークシートの名前を変更する を開く 複数のワークシートの名前を変更する ダイアログボックス。 次に、次のようにしてください。

シナリオ 1.Kutools for Excel を使用して、特定のデータを含む複数のワークシートの名前を変更する

doc名前変更ワークシート5

  1. 名前を変更したいワークシートを ワークシート リスト。
  2. ワークシートの名前を変更するタイプを XNUMX つ選択します オプションの名前を変更します。
  3. に特定の値を入力します。 入力ボックスから.
  4. OK。 次の結果が得られます。

doc名前変更ワークシート6

シナリオ 2. Kutools for Excel を使用して、セル値を含む複数のワークシートの名前を変更する

doc名前変更ワークシート7

  1. 名前を変更したいワークシートを ワークシート リスト。
  2. ワークシートの名前を変更するタイプを XNUMX つ選択します オプションの名前を変更します。
  3.   ドキュメントボタン ボタンをクリックして、ワークシートに名前を付けるセル値を選択します。 特定の範囲から のセクションから無料でダウンロードできます。
  4. OK。 次の結果が得られます。

doc名前変更ワークシート8

シナリオ 3. Kutools for Excel を使用して、各ワークシートの特定のセル値を持つ複数のワークシートの名前を変更する

doc名前変更ワークシート9

  1. 名前を変更したいワークシートを ワークシート リスト。
  2. ワークシートの名前を変更するタイプを XNUMX つ選択します オプションの名前を変更します。
  3.   ドキュメントボタン ボタンをクリックして、ワークシートに名前を付ける特定のセル値を選択します。 ワークシートの名前を特定のセルに変更する のセクションから無料でダウンロードできます。
  4. OK。ワークシート名は、各ワークシートの特定のセル値を使用して名前変更されました。

doc名前変更ワークシート10

先端: この機能を使用するには、以下をインストールする必要があります Kutools for Excel まずはお願いします クリックしてダウンロードし、30 日間の無料トライアルをご利用ください 今。

複数のワークシートの名前を変更するためのVBAコードの使用

ここでは、複数のワークシートの名前を変更するためのXNUMXつのVBAコードを紹介します。

コード 1. 複数のワークシートの名前を一度に希望の名前に変更する VBA コード

次のVBAコードを使用すると、現在のブックのすべてのワークシートの名前を、ワークシート名に同じプレフィックスを付けてすばやく変更できます。たとえば、KTE-order1、KTE-order 2、KTE-order3…

1. ソフトウェアの制限をクリック Developer > ビジュアルベーシック、クリック インセット > モジュール セクションに Microsoft Visual Basic アプリケーション ウィンドウ.

2. 次のコードをコピーして、 モジュール.

VBA:特定の名前を入力してすべてのシートの名前を変更します

Sub ChangeWorkSheetName()
'Updateby20140624
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
newName = Application.InputBox("Name", xTitleId, "", Type:=2)
For i = 1 To Application.Sheets.Count
    Application.Sheets(i).Name = newName & i
Next
End Sub

3.   doc-rename-multiple-worksheets-4 ボタンをクリックしてコードを実行し、ポップアウトダイアログに必要な名前を入力します。スクリーンショットを参照してください。

doc名前変更ワークシート2

4. OK。 次に、すべてのシートの名前が変更されていることがわかります。

doc名前変更ワークシート3

2.アクティブなブックの各ワークシートの特定のセル値で複数のワークシートの名前を変更するVBAコード

次のVBAコードを使用して、特定のセルのコンテンツを使用して、現在のブックのすべてのワークシートの名前を変更します。 たとえば、ワークブック全体のA1セルにワークシート名を入力すると、ワークシートの名前がセル値A1に変更されます。

1.  各ワークシートにワークシート名を含めるセルを指定し、ワークシート名を入力してください。 この例では、各ワークシートのセルA1にワークシート名を入力します。

2.  Developer > ビジュアルベーシック、クリック インセット > モジュール セクションに Microsoft VisualBasicアプリケーション ウィンドウズ。

3.  次のコードをコピーしてモジュールに貼り付けてください。

VBA:特定のセルコンテンツでワークシートの名前を変更します

Sub RenameTabs()
'Updateby20140624
 For x = 1 To Sheets.Count
 If Worksheets(x).Range("A1").Value <> "" Then
 Sheets(x).Name = Worksheets(x).Range("A1").Value
 End If
 Next
 End Sub

4.   doc-rename-multiple-worksheets-4 ボタンを押してコードを実行します。 すべてのワーシートは、A1のセルの内容に基づいて名前が変更されます。

注意:

  • 上記のコードでは、 A1 ワークシートの名前を変更するセルの内容です。必要に応じて変更できます。
  • 特定のセルにコンテンツがない場合、特定のセルのワークシートの名前は変更されません。

デモ:Kutools forExcelを使用して複数のワークシートの名前を変更する


Kutools for Excel: 300 を超える便利なツールをすぐに利用できます。 機能制限なしの 30 日間の無料トライアルを今すぐ始めてください。 今すぐダウンロード!
Comments (23)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, I am trying to rename tabs but the rename function in the dropdown list is grey and I have no idea how to activte it. Please help.
Regards
John
This comment was minimized by the moderator on the site
Useless without kutools. What a waste of time.
This comment was minimized by the moderator on the site
i wants some requirments
1: i wants two or more blank sheets between two main sheets.

2: i want to copy one condent from sheet 1 to other sheets, at the same time the heading condet sheet name wil be chenged both sheets. that

sheet 01 heading is sheet 01. icopy the condent and paste it to other 1500 sheet at the same time i want to change the sheet name will be changed sheet 02, sheet 03 this orderly

3: i want to copy one condent from first sheet and i want to paste it some specific pages..
This comment was minimized by the moderator on the site
Good day,
Sorry can't help you with that yet. Welcome to post any question in our forum: https://www.extendoffice.com/forum.html to get more Excel support from out Excel professional or other Excel fans.
This comment was minimized by the moderator on the site
This is fab, I've been happily using '2. VBA code to rename multiple worksheets by specific cell value in each worksheet of the active workbook for months but now work have upgraded to Excel 2010 and it doesn't work anymore... can't find a similar solution online - any suggestions?
This comment was minimized by the moderator on the site
Thats great!!!, thank you very much for sharing vba codes. they are very useful
This comment was minimized by the moderator on the site
Thats great!!!, thank you very much for sharing vba codes. they are very useful
This comment was minimized by the moderator on the site
What if we want to have the numbers in descending order from 52 to 1?
This comment was minimized by the moderator on the site
I need to rename worksheets with data in cell Q5, however, multiple worksheets contain the same data in Q5. How can I tell Excel to rename those worksheets with the data in Q5 and just add something (like 1 or 2) after the name? I hope this makes sense.
This comment was minimized by the moderator on the site
I have tried to come up with something very similar, I have worksheet that has 2 columns and 119 rows. I need to take A1:B1 put them together and rename 3rd worksheet, next A2:B2, put them together and rename 4th worksheet, on until row 119. I have been hitting my head on the monitor trying to come up with easy way to do this. Any help would be much appreciated!
This comment was minimized by the moderator on the site
I have been looking for something very similar to these, however...I have sheet that has 2 columns and 119 rows. I need to combine A1:B1, start at the 3rd worksheet to rename the tab, next would be A2:B2, rename the 4th tab, so on and so forth. I have been beating my head against monitor and can't figure this one out...any help would be appreciate it.
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