Problem: Using Sharepoint URLs to link to specific worksheets
Hello!
I am managing large monthly content catalogs and am looking to have my confluence page contain several links to the different worksheets in my Excel doc. The XLSX is on SharePoint and my coworkers can access it fine. The problem is getting the URL to take them to the right location and not require them to navigate through all my worksheet tabs.
I've tried many different approaches to modifying the end of the URL:
- Adding #'WorksheetName'
- Adding &range='WorksheetName'
- Adding &activeCell=%27WorksheetName%27!A1 -- This one actually works, but no one can scroll through the web client because the referenced cell is forcing the view back to it constantly. Removing the !A1 breaks the success.
- Adding ?web=1?range='WorksheetName'
I've tried all of the above with the ' character and also using %27 to represent the character and only the third option gets the worksheet correct; all others open the sheet but on the wrong tab. I can't seem to find a since source that explains why these methods are supposed to work or how to utilize the one that is working but allow for scrolling. Happy to read through any materials if anyone can point me in the right direction. My 4 hours of googling has only turned up the above implementations.
Posted Mar 23, 2019, 1:40 AM UTC
I do not believe this can be done.. previous investigation shows that links inside of Excel use operating system (OS) calls to get to the correct location, whereas simple text URLs in outside sources just use the http protocol which does not have any calls to the OS or the Excel process to find internal anchors in Excel workbooks, or pass an argument to the Excel process for same.
Happy to be proven wrong.