Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:12:04+00:00 2026-06-17T20:12:04+00:00

There seems to be a bug with Excel hyperlinks which are generated with a

  • 0

There seems to be a bug with Excel hyperlinks which are generated with a formula. I’m using Excel 2010. I have a spreadsheet with cells containing URLs, and my goal is to do the following two things:

  1. Turn these cells into hyperlinks.
  2. Create a keyboard shortcut to open these hyperlinks so I don’t have to use the mouse.

To do #1, initially I just used the function =HYPERLINK(). So, my URLs are in column A, and I used this formula to make hyperlinks in column B.

To do #2, I created the following macro which should open the hyperlink with the keyboard shortcut Ctrl+H:

Sub Open_Hyperlink()
'
' Open_Hyperlink Macro
'
' Keyboard Shortcut: Ctrl+h
'
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
End Sub

The problem is that this macro only seems to work on hyperlinks which are not created using a formula. For example, if I just type into a cell http://www.google.com, Excel will automatically make this a hyperlink and the keyboard shortcut macro works, where it doesn’t with formula generated hyperlinks.

I’ve also noticed that when I right click on formula generated hyperlinks, there is no option in the drop-down menu to open the hyperlink, yet there is that option when right clicking on hyperlinks not generated by a formula.

I’ve found the following workaround. Rather than generate hyperlinks using a formula, I used a macro which I found here.

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

I’m able to use the keyboard shortcut to open the hyperlinks generated with this macro. I’m wondering if anyone has or had a similar problem, and why the formula generated hyperlinks are not working for me. I would prefer to use formulas to make hyperlinks in the future, since it is simpler, so if anyone knows of a way to avoid using a macro to make hyperlinks, I’d really appreciate it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:12:05+00:00Added an answer on June 17, 2026 at 8:12 pm

    I’m wondering if anyone has had a similar problem, and why the formula
    generated hyperlinks are not working for me.

    Alas, this seems to be painful truth: Excel does not add to Hyperlinks collection formula-generated links – below is the screen from the debugger which is pointed to =HYPERLINK("http://www.google.com/";"Google"):

    Cell Hyperlinks collection

    I’m not sure whether this is a deliberate implementation or a bug, but yes, formula-generated links may NOT be opened using Hyperlinks().Follow method.

    However, if you’re going to use keyboard shortcut for links opening, just use the following code – it will automatically convert to clickable link selected cell text and open it:

    Sub Open_Hyperlink()
        Selection.Hyperlinks.Add Anchor:=Selection, Address:=Selection.Formula
        Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    End Sub
    

    Just assign any shortcut and you’re ready to go) Here is the sample: https://www.dropbox.com/s/d4cie7lun22quma/FollowLinks.xlsm

    Hope that’s somehow helpful. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems to be well-known there is a bug when using JMenuItem.getRootPane(). I read
There seems to be a bug when using the JavaScript functions encodeURI / escape
There seems to be a bug in Firefox (which has been marked as resolved
There seems to be a bug in a Wordpress PHP function that leaves whitespace
There seems to be a bug in the Java varargs implementation. Java can't distinguish
There seems to be a bug in IE when cascading dynamic stylesheets. Does anyone
There seems to be a rather annoying bug in MS Expression Web 3 (or
I am using a obj-c port of an open-source library and there seems to
I tested this code in Chrome and there seems to be a bug involving
There seems to be a Bug with the Outer Join statement in SubSonic 3,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.