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 767099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T17:09:22+00:00 2026-05-14T17:09:22+00:00

I want to retrieve a hyperlink to a cell in Excel and then paste

  • 0

I want to retrieve a hyperlink to a cell in Excel and then paste this hyperlink in a third party app. Clicking the hyperlink should load Excel with the appropriate workbook and that cell should be selected with the cursor.

The hyperlink should work in Microsoft-related products like OneNote; for example, if I have a workbook “D:\abc.xls” and I want to jump to cell C12, I would make an hyperlink like “D:\abc.xls#C12”.

And this would work; however, if I paste this in a non-Microsoft applicaltion it just opens up Excel and the workbook, but the cell isn’t highlighted. How can I get this to work?

  • 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-05-14T17:09:22+00:00Added an answer on May 14, 2026 at 5:09 pm

    RE comment

    That’s what i was suggesting, for example save the following as a .reg and import it

    REGEDIT4
    
    [HKEY_CLASSES_ROOT\XLOPEN]
    @="URL:Excel Opener"
    "URL Protocol"=""
    
    [HKEY_CLASSES_ROOT\XLOPEN\shell\open\command]
    @="CSCRIPT.EXE \"C:\\TEMP\\XLOPEN.VBS\" \"%1\""
    

    This makes an XLOPEN:// URL protocol handler thatr when invoked will run XLOPEN.VBS.

    Save the following as C:\TEMP\XLOPEN.VBS

    rem //get an argument like "XLOPEN://C:\null\text.xlsx/#F55" note extra /
    dim arg:  arg = WScript.Arguments.item(0)
    dim arr:  arr = (split(ucase(arg), "#"))
    rem unmangle the url
    dim filename: filename = replace(arr(0), "XLOPEN://", "")
    if (right(filename, 1) = "/") then filename = mid(filename, 1, len(filename)-1)
    dim xl:   set xl = createobject("excel.application")
    xl.Workbooks.Open filename 
    xl.range(arr(1)).select
    xl.visible = true
    

    Now if you run

    xlopen://c:\null\test.xlsx#Q50

    or use

    <a href="xlopen://c:\null\test.xlsx#Q50">bla bla</a>

    Windows will lookup xlopen:// and pass the string xlopen://c:\null\test.xlsx/#Q50 to XLOPEN.VBS which extracts the file path c:\null\test.xlsx1 and opens it, then selects the range after the #.

    This works if called in browsers/from the shell/via the windows API, no idea if it will work in the 3rd party app. (You would replace the script with a helper exe)

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

Sidebar

Related Questions

I have a HTML table as follows. I want retrieve row values from this
I want to retrieve a object based on 2 id´s. Is this the right
I read this http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/ and in nested set model I want retrieve from parent
I want to retrieve the value converted to array and then to object.. $input
I want to retrieve items from Fortress via its .NET API and load their
I want to retrieve all case-insensitive duplicate entries from an array. Is this possible
In my iphone app i want retrieve videos list from my account in youtube,
I want to retrieve group text of my drop down in variable and then
I want retrieve the width and height of browser in pixel(px) using ruby code.
What I want retrieve task whch due element is overdue. What the XML is

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.