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

Excelで一度に複数のハイパーリンクを開くにはどうすればよいですか?

スプレッドシートに多数のハイパーリンクがある場合、通常はそれらを 1 つずつ開く必要があり、面倒な場合があります。幸いなことに、選択したすべてのハイパーリンクを一度に開く簡単な方法がいくつかあります。以下に説明する方法に従えば、このタスクを簡単に実行できます。


VBAコードで一度に複数のハイパーリンクを開く

選択した範囲のハイパーリンクを一度に開くには、次のVBAコードが役立ちます。次のようにしてください。

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

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

VBAコード:一度に複数のハイパーリンクを開く

Sub OpenHyperLinks()
'Updateby Extendoffice
	Dim xHyperlink As Hyperlink
	Dim WorkRng As Range
	On Error Resume Next
	xTitleId = "KutoolsforExcel"
	Set WorkRng = Application.Selection
	Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
	For Each xHyperlink In WorkRng.Hyperlinks
		xHyperlink.Follow
	Next
End Sub

3。 次に、 F5 このコードを実行するためのキーを押すと、一度に開きたいハイパーリンクを含む範囲を選択するように促すプロンプトボックスが表示されます。スクリーンショットを参照してください。

doc-open-multiple-hyperlinks-1

4。 そして、 OK、すべてのハイパーリンクは、クリックせずに同時に開かれます。


Kutools AI Aideを使用して複数のハイパーリンクを一度に開く

効率性の力を解き放つ Kutools AI アシスタント!ハイパーリンクを 1 つずつ開いたり、複雑なコードを開く手間は不要です。と Kutools AI アシスタントをクリックするだけで、複数のハイパーリンクを同時に簡単に開くことができます。この革新的なツールを利用することで、ワークフローを合理化し、貴重な時間を節約できます。シームレスなブラウジングを体験し、生産性を向上させます。 Kutools AI アシスタント 今日!

Note: 使用するには Kutools AI アシスタント of Kutools for Excelについては Kutools for Excelをダウンロードしてインストールします 最初。

Kutools for Excelをインストールした後、をクリックしてください クツールAI > AI補佐官 を開く Kutools AI アシスタント ペイン:

  1. データ リストを選択し、チャット ボックスに要件を入力して、 送信 ボタンまたはプレス 入力します 質問を送信するためのキー。
    「選択範囲内のすべてのハイパーリンクを一度に開きます:」
  2. 分析後、クリックします 実行する 実行するボタン。 Kutools AI Aide は、AI を使用してリクエストを処理し、選択内容のすべてのハイパーリンクを Excel で直接開きます。

doc-open-multiple-hyperlinks-1


関連記事:

  • Excel で複数のハイパーリンク パスを一度に変更する
  • 目的によっては、ワークシート内のデータに複数のハイパーリンクを作成し、すべてのハイパーリンクを同じファイルパスまたはアドレスにリンクすることができますが、このハイパーリンクパスを一度に別のアドレスに置き換える必要があります。 ハイパーリンクのパスを個別に変更すると、多くの時間が無駄になる可能性がありますが、この問題を解決する簡単な方法はありますか?
  • Excelで複数のメールアドレスをハイパーリンクに変換する
  • ワークシートにプレーンテキストの電子メールアドレスのリストがあり、これらの電子メールアドレスを、アドレスをクリックしながら電子メールを送信できるハイパーリンクに変換したい場合。 もちろん、それらをハイパーリンクされた電子メールアドレスに変換することはできますが、変換する必要のあるアドレスが複数ある場合、この方法は退屈になります。 この記事では、このタスクに対処するためのいくつかの良いトリックについて説明します。
  • Excel の非表示シートへのハイパーリンクをたどる
  • たとえば、複数のワークシートを含むワークブックがあり、最初のマスター シートには他のシートへのハイパーリンクがあり、最初のシートを除くすべてのシートを非表示にします。この場合、非表示のシートにリンクするハイパーリンクは使用できません。しかし、どうすればこれらのハイパーリンクを正常に機能させることができるでしょうか? 1 つのハイパーリンクをクリックすると、リンクされた隠しシートがすぐに開きます。

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

🤖 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 (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks for the code.
Could make it work for a "https link instead a hyperlink?
This comment was minimized by the moderator on the site
Got a compile error on Microsoft Visual Basic for Applications 7.1 on Mac High Sierra
This comment was minimized by the moderator on the site
This works fine, except for a problem, how can I make it that it only opens filtered cells?

Thank you
This comment was minimized by the moderator on the site
Can i select which browser the links need to open
This comment was minimized by the moderator on the site
Hi, it worked perfectly, thanks! Is there a way to copy the text from the pages of these links in the cell next to each of them?
That would save me hundreds of hours of work!
This comment was minimized by the moderator on the site
Its works awesome.
This comment was minimized by the moderator on the site
When I use this on a column of hyperlinks generated by the =HYPERLINK() formula, it doesn't seem to work. When I copy/paste the values into a new column and run it there, it doesn't work. When I go to each individual cell, go to the end of text, and hit enter (causing it to become a hyperlink) it DOES work.


This didn't work for my needs, unfortunately. I have thousands of rows and clicking enter at the end of each line of text is pretty much what I'm having to do anyway.
This comment was minimized by the moderator on the site
Found a solution?
This comment was minimized by the moderator on the site
@James @Johan - Select the text you wish to convert into hyperlink, then use this code to convert the text into hyperlink directly. Then run the code above, works like a charm.


Sub HyperAdd()

'Converts each text hyperlink selected into a working hyperlink

For Each xCell In Selection
ActiveSheet.Hyperlinks.Add Anchor:=xCell, Address:=xCell.Formula
Next xCell

End Sub
This comment was minimized by the moderator on the site
Hello! What I did was to copy/paste the values from the =HYPERLINK code into a different column, and then I used @SimpleDude's code to convert the pasted text into the hyperlinks that worked with the original hyperlink-opening code. Thank you for the help!
This comment was minimized by the moderator on the site
Thanks!
Works exactly as expected. Must be sure that the links are already valid URLs.
I opened 15 at one time.
This comment was minimized by the moderator on the site
Freezes excel - links never open
This comment was minimized by the moderator on the site
Please let me know hpw does it work in Mac
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