Excel Hyperlink with Shortcut Key (3 Uses)

Sometimes you may need to refer to a web page for the data you’ve used in your Excel sheet. Hyperlink in Excel allows you to visit a web page or external document. In this article, I’ll introduce you to some shortcut keys that you can apply to operate different functions of Hyperlink in Excel.

Suppose you have collected some data in your worksheet from a web page. You want to link the web page in your Excel sheet as a hyperlink. Now, I’ll show you the shortcuts which you can use in this case.

DATASET


Excel Hyperlink with Shortcut Key: 3 Operations

1. Shortcut to Add Hyperlink in Excel

The easiest way to add hyperlinks in Excel is to use a shortcut keyboard command. First,

➤ Select the cell where you want to add the hyperlink.

➤ Press CTRL+K.

EXCEL HYPERLINK SHORTCUT

As a result, the Insert Hyperlink window will appear.

EXCEL HYPERLINK SHORTCUT

Now,

➤ Paste the address of the webpage you want to link in the Address box.

You can also change the text which will be displayed in your selected cell from the Text to display box if you want to.

At last,

➤ Click on OK.

EXCEL HYPERLINK SHORTCUT

As a result, a hyperlink will be added to your selected cell. If you put the cursor on that cell, you will see the hyperlink with two instructions.

EXCEL HYPERLINK SHORTCUT

Read More: How to Create a Hyperlink in Excel


2. Add Hyperlink from the Context Menu in Shortcut

You can also use keyboard keys to add hyperlink from the Context menu. Though this method is not so convenient to use. But it can come in handy in a situation when you must insert the hyperlink using only a keyboard.

➤ Copy the link of the webpage from your web browser.

After that,

➤ Select the cell and press SHIFT+F10 to open the Context menu.

CONTEXT MENU

Now,

➤ Use different ARROW Keys to navigate through the context menu.

➤ Expand the option Link using the RIGHT ARROW key.

Here, you will see the link you’ve previously copied.

➤ Select this link and press ENTER.

HYPERLINK

As a result, a hyperlink will be added to your selected cell. If you put the cursor on that cell, you will see the hyperlink with two instructions.  You can click once on the link to open the page on your website or click and hold to select the cell.

EXCEL HYPERLINK SHORTCUT

Read More: How to Add Hyperlink to Another Sheet in Excel


3. Using VBA to Create a Shortcut for Opening Hyperlink

You can also assign a keyboard shortcut key to open the hyperlink by using the Microsoft Visual Basic Application (VBA). First,

➤ Press ALT+ F11.

It will open the VBA window. After that,

➤ Go to the Insert tab and select Module.

It will open the Module(Code) window.

VBA

At this step,

➤ Type the following code in the Module(Code) window,

Sub Open_Hyperlink()

       ActiveCell.Hyperlinks(1).Follow

End Sub

The code will create a Macro named Open_Hyperlink which will activate the selected cell.

CODE

After that,

➤ Close or minimize the VBA window and press ALT+F8.

It will open the Macro window.

➤ Select  Open_Hyperlink from the Macro name box and click on Options.

OPTIONS

As a result, the  Macro Options window will appear. Now,

➤ Insert a key in the Shortcut key box.

In this example, I’ve inserted n. So whenever I press CTRL+N, the selected cell will be activated.

➤ Click on OK.

ASSIGN SHORTCUT

After that,

➤ Close the Macro window.

MACRO

Now, If you select the cell with hyperlink and press CTRL+N (the key you have assigned to run the Macro) it will open the web page in your web browser.

EXCEL HYPERLINK SHORTCUT

Read More: How to Hyperlink to Cell in Same Sheet in Excel


Download Practice Workbook


Conclusion

I hope now you know the different uses of the shortcut key for Excel Hyperlink. If you have any confusion please feel free to leave a comment.


Related Articles

<< Go Back To Create Hyperlink in Excel | Hyperlink in Excel | Linking in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Prantick Bala
Prantick Bala

PRANTICK BALA is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, he has transitioned into the role of a content developer. Beyond his work, find him immersed in books, exploring new... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo