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

Excelでハイパーリンクを削除またはオフにする方法は?

ワークシートまたはワークブック全体に存在する何百ものハイパーリンクを削除する場合、または作成時にハイパーリンクを直接オフにする場合。 Excelで不要なハイパーリンクをすばやく処理するにはどうすればよいですか?

doc削除ハイパーリンク1 doc削除ハイパーリンク2

[ハイパーリンクの削除]コマンドを使用して、範囲内のすべてのハイパーリンクを削除します

ハイパーリンクが同じワークシートにある場合は、 ハイパーリンクを削除する それらを削除する機能。

1。 削除するハイパーリンクを含む範囲を選択します。

2。 次に、をクリックします ホーム > クリア > ハイパーリンクを削除する、スクリーンショットを参照してください:

doc削除ハイパーリンク3

ヒント:選択した範囲を右クリックして、を選択することもできます ハイパーリンクを削除する メニューから、スクリーンショットを参照してください。 doc削除ハイパーリンク4

3。 また、選択した範囲内のすべてのハイパーリンクが一度に削除されます。

注意:

  • 1.この方法は、Excel2007以前のバージョンでは使用できません。
  • 2.異なるワークシートのハイパーリンクを削除する必要がある場合は、操作を何度も繰り返します。

VBAコードを含むワークシート内のすべてのハイパーリンクを削除します

熟練したプロのユーザーの場合は、マクロを作成して、アクティブなワークシートからハイパーリンクを削除できます。

1。 ハイパーリンクを削除するワークシートをアクティブにします。

2。 を押し続けます Alt + F11 キーを押して、Microsoft Visual Basic forApplicationsウィンドウを開きます。

3に設定します。 OK をクリックします。 インセット > モジュール、モジュールウィンドウに次のコードを貼り付けます。

VBAコード:アクティブなワークシートからすべてのハイパーリンクを削除します。

Sub RemoveHyperlinks() 
ActiveSheet.Hyperlinks.Delete 
End Sub

4。 次に、 F5 このコードを実行するためのキーを押すと、すべてのハイパーリンクがアクティブなワークシートからすぐに削除されます。


VBAコードでフォーマットを失うことなくすべてのハイパーリンクを削除します

上記のすべての方法では、ハイパーリンクを削除するときにセルの書式設定がクリアされます。ハイパーリンクを削除するときに書式設定を保持したい場合は、次のコードを使用するとよいでしょう。 次のようにしてください。

1。 を押し続けます Alt + F11 キーを押して、Microsoft Visual Basic forApplicationsウィンドウを開きます。

2に設定します。 OK をクリックします。 インセット > モジュール、モジュールウィンドウに次のコードを貼り付けます。

VBAコード:セルの書式を失うことなく、すべてのハイパーリンクを削除します。

Sub RemoveHlinkskeepformatting()
Dim Rng As Range
Dim WorkRng As Range
Dim TempRng As Range
Dim UsedRng As Range
Dim xLink As Hyperlink
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
Set UsedRng = Application.ActiveSheet.UsedRange
For Each xLink In WorkRng.Hyperlinks
    Set TempRng = Cells(1, UsedRng.Column + UsedRng.Columns.Count)
    Set Rng = xLink.Range
    Rng.Copy TempRng
    Rng.ClearHyperlinks
    Set TempRng = TempRng.Resize(Rng.Rows.Count, Rng.Columns.Count)
    TempRng.Copy
    Rng.PasteSpecial xlPasteFormats
    TempRng.Clear
Next
End Sub

3。 次に、 F5 キーを押してこのコードを実行し、プロンプトボックスで、削除するハイパーリンクが含まれている範囲を選択しますが、フォーマットは残します。スクリーンショットを参照してください。

doc削除ハイパーリンク8

4。 次に、をクリックします OK、ハイパーリンクは削除されましたが、ハイパーリンクのフォーマット(下線を含む)は保持されます。 スクリーンショットを参照してください:

doc削除ハイパーリンク9 doc削除ハイパーリンク10

Kutools for Excelを使用して、範囲、シート、またはブック内のすべてのハイパーリンクを削除します

複数のワークシートまたはブック全体のフォーマットを失うことなくハイパーリンクを削除しようとしていると仮定すると、利用可能なツール Kutools for Excel ワンクリックで複数のハイパーリンクを削除するのに役立ちます。

インストールした後 Kutools for Excel、適用します ハイパーリンクを削除する 次の手順に従って機能します。

クツール > リンク > フォーマットを失うことなくハイパーリンクを削除し、 次に、必要に応じて、ハイパーリンクを削除するスコープを選択します。 スクリーンショットを参照してください:

次に、すべてのハイパーリンクが一度に削除されますが、テキストの書式は必要に応じて保持されます。スクリーンショットを参照してください。

今すぐExcel用のKutoolsをダウンロードして無料トライアル!


Excelで自動ハイパーリンクをオフまたは無効にする

この煩わしい操作を無効にする必要がある場合は、Webアドレスまたは電子メールアドレスを入力すると、Excelによってハイパーリンクが自動的に作成されます。 このようにしてください:

1。 Excel 2010以降のバージョンでは、 File > オプション; Excel 2007では、をクリックします Officeボタン > Excelのオプション を開く Excelのオプション ダイアログ。

2。 の中に Excelのオプション ダイアログボックスで、をクリックします。 校正 左ペインから、をクリックします オートコレクトのオプション 右のセクションにあります。 スクリーンショットを参照してください:

docはハイパーリンクを削除します6

3。 そして、飛び出した オートコレクト ダイアログ、クリック 入力時にオートフォーマット タブをクリックし、チェックを外します ハイパーリンクを使用したインターネットおよびネットワークパス 下のオプション 入力時に置き換えます セクション、スクリーンショットを参照してください:

docはハイパーリンクを削除します7

4。 次に、をクリックします。 OK > OK ダイアログを閉じます。 さて、セルにウェブアドレスを入力するとき、を押した後 入力します キーを押すと、インターネットアドレスはクリック可能なハイパーリンクになりません。

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, thanks for the visual basic trick; I am not familiar with any programming, but this instruction was very clear and easy to follow. I still had to individually clear the icon in the cells, but at least hyperlinks were removed in one go. Thanks again!
This comment was minimized by the moderator on the site
Very much thankful to you, you made my task easy
This comment was minimized by the moderator on the site
Excel 2007 I struggled with all the above then found if you highlight the areas to remove the hyperlinks > look to where "Auto Sum" is and underneath you will find "Clear" select "clear formats" and bingo all done
This comment was minimized by the moderator on the site
i follow all steps. I and i did it. If you want to remove hyperlink in excel 2007. press alt + f8 select default macros and run Thankyou
This comment was minimized by the moderator on the site
Thank you so much! YOu saved me so much annoyance!
This comment was minimized by the moderator on the site
Thank you soo much, I hade to prepare a data for 270emp. and though its a big formula but got help and learnt new thing as well.
This comment was minimized by the moderator on the site
Love your easy to follow instructions! Worked like a charm!! Thank you very much. Saved me a lot of time removing hyperlinks individually. Normally, I'm quite computer illiterate but I was able to follow the macros instruction and I got excited that I have to make a comment. Thank you. This helped a ton!
This comment was minimized by the moderator on the site
just copy the entire row of data with hyperlinks on a notepad then select all and copy again from notepad select the first cell of the row and paste it.. wow..hyperlinks gone.... Note -- dont do it on Ms word...it carries the hyperlinks as well...
This comment was minimized by the moderator on the site
Pasting to notepad was a brilliantly simple suggestion, and I guess would work on all editions of Excel, which is not the case with all of the above methods as I and others have found out.
This comment was minimized by the moderator on the site
I downloaded - thinking that it would help on removing old hyperlinks to excels that no longer are valid. followed instructions above - came back "no hyperlinks found". When saved, closed and reopened, it had the same warnings that "Cant Connect to https://xxxxx". how else can I resolve. I have to go into 140+ worksheets to try and manually remove it this tool does not work.
This comment was minimized by the moderator on the site
Macro method is very useful and the second one which I always use is copy and paste the data in another sheet it loses the hyperlinks.
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