21

I have many hyperlinks in a column of excel-sheet.

Is/Are there any shortcut key/Keys so that after going to each cell(using keyboard) I can open those in browser without using mouse-click?

9 Answers 9

17

In Excel 2016 (English version), I would say that the simplest way to do this is to

  • press the menu key (that has a similar effect to a right click)
  • press o twice
  • press Enter.

The first o goes to "sort" ; the second o goes to "Open Hyperlink", and "Enter" then opens the hyperlink.

On a keyboard that does not have a menu key, one can press Shift + F10 instead.

menu key

Excel menu with open hyperlink selected

4
  • 2
    Points for Google Sheets and their ALT+ENTER here Commented Oct 9, 2021 at 0:42
  • 1
    Works great, but unfortunately it clears clipboard, which doesn't happen when the link is clicked with mouse or touchpad buttons. Commented Mar 18, 2023 at 20:49
  • Menu key and right click is not the same. Especially not for Win11. Also this duplicates that answer.
    – Cadoiz
    Commented Mar 28, 2023 at 6:21
  • The info with shift+F10 was good!
    – sb813322
    Commented Mar 28, 2023 at 6:35
7

To open a hyperlinked file in excel, try the following

  1. Select the cell.
  2. Press application key (menu key).
  3. Press O key twice.
  4. Press enter key.
0
6

Press the menu key and then press O or o.

More about Menu Key here.

5
  • 5
    In Excel 2013, this only opens the Sort menu. Any other ideas? Commented Feb 16, 2016 at 16:23
  • My Excel is not in English and I have no idea which other shortcut to use, because there is not a single item in the popup menu that would activate the hyperlink.
    – interDist
    Commented May 26, 2017 at 15:17
  • 4
    @AndrewRalon Press "o" twice...should take you to the "Open Hyperlink" option at the bottom of the menu.
    – rmbradburn
    Commented Feb 6, 2020 at 13:59
  • @interDist I'm not sure what it would be in something besides English, but when I have a cell with a hyperlink selected, the very bottom option in the menu is "Open Hyperlink".
    – rmbradburn
    Commented Feb 6, 2020 at 14:00
  • The answer by @Alexandre d'Entraigues below shows it in pictures. Excellent.
    – rmbradburn
    Commented Feb 6, 2020 at 14:02
5

Create a macro with the following. The cell with the link should only include text of the hyperlink (and not use the Excel function hyperlink with an embedded link). Note that the "... chrome.exe " has a [space] between exe and quote (").

Sub ClickHyperlnk()
'
' ClickHyperlnk Macro
'
' Keyboard Shortcut: Ctrl+d
'

With Selection.Interior
    URL = ActiveCell.Value
    Shell "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe " & URL, vbNormalNoFocus

End With

End Sub
3
Sub hyhperlink()
'
' hyhperlink Macro
' opens hyperlink
'
' Keyboard Shortcut: Ctrl+Shift+X
'
With Selection.Interior
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
End With

End Sub

or record a macro for this operation

1
  • How would you record a macro?
    – sb813322
    Commented Mar 28, 2023 at 6:30
3

Go in excel view tab

  1. Click on micro
  2. Click Record micro
  3. type text in shortcut key i.e.(Ctrl+Q or q)
  4. enter OK
  5. Press the menu key and then press O or o in excel Where is your hyper link data & Enter
  6. again go in view > micro > click on stop micro

Now you can use your short cut key i.e. Ctrl+Q or q for hyperlink cells in excel

1
  • There is a difference between ctrl+q and ctrl+shift+q
    – Cadoiz
    Commented Mar 28, 2023 at 6:27
3

This is an old post but maybe it could help someone searching for this shortcut. To open a link without going through "Edit Links" follow these couple of steps:

  • click on a cell that is linked to another file
  • then press Ctrl + [

This will open the linked file.

1
  • 4
    The question title says "without clicking" Commented Sep 2, 2020 at 16:09
1

I found out this command doesn't work for me with the o twice, maybe because I have a column of hyperlinks.

What I do is:

  1. Select cell
  2. Menu key
  3. Up_Arrow
  4. Enter

Opening the link is the last proposition of the menu, so going up goes to the last option. Pressing enter activates it.

0

You can make keyboard shortcut for hyperlinks formula / function.

Just press ALT + F11 copy and paste the script below:

Sub OpenHyp()
Workbooks.Open "FOLDER ADDRESS\" & ActiveCell.Value & "FILE EXTENSION"
End Sub

replace the FOLDER ADDRESS = you can find it on address bar of the file location just copy, paste and add "" at the end of file address.

no need to replace ActiveCell.Value = this is the filename of your file which is usually the content of cell.

replace the FILEEXTENSION = for pdf used ".pdf", for normal excel file used ".xlsx" and so on.

Then, go to developer tab, click Macros, select the code we make which is "OpenHyp" and click "Option". Now you can put the shortcut key.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.