Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old January 21st 05, 05:09 PM
Glenn Mulno
 
Posts: n/a
Default Hyperlink to specific worksheet in Excel

I tried asking this a few weeks back but did not get an answer that worked.

I am trying to create a hyperlink on a web page that when clicked it will
open a specific worksheet of a specific Excel document. The Excel document
I have has 9 worksheets on it - ultimately I want to have 9 different
hyperlinks that will open the document to each sheet as desired by the
clicker.

In looking around I found some references that seemed to say this would work
with the following syntax types:

<a href=file://server/ReportOutput/MyFile.xls#Sheet9 Click </a
OR
<a href=file://server/ReportOutput/MyFile.xls#'My Sheet'!A1 Click </a

I have office 2003. Perhaps this used to work in order versions of Excel?
At the moment, when this is clicked on it only opens to either sheet 1, or
whatever sheet it was last saved with on top, not the requested worksheet.

Any help is appreciated.

--
Glenn



  #2   Report Post  
Old January 29th 05, 05:43 PM
MJS
 
Posts: n/a
Default

Glen --
Ditto ... I'm having the same issue PLUS now on my work computer, I can't
get the hyper-links to even open a specific file ...it just opens a dialog
box ( directory listing ) of the directory for the file I hyperlinked to and
won't even open the file now.

If you find a fix ... please post it !

Thanks, Mark
"Glenn Mulno" wrote in message
...
I tried asking this a few weeks back but did not get an answer that worked.

I am trying to create a hyperlink on a web page that when clicked it will
open a specific worksheet of a specific Excel document. The Excel
document
I have has 9 worksheets on it - ultimately I want to have 9 different
hyperlinks that will open the document to each sheet as desired by the
clicker.

In looking around I found some references that seemed to say this would
work
with the following syntax types:

<a href=file://server/ReportOutput/MyFile.xls#Sheet9 Click </a
OR
<a href=file://server/ReportOutput/MyFile.xls#'My Sheet'!A1 Click </a

I have office 2003. Perhaps this used to work in order versions of Excel?
At the moment, when this is clicked on it only opens to either sheet 1, or
whatever sheet it was last saved with on top, not the requested worksheet.

Any help is appreciated.

--
Glenn





  #3   Report Post  
Old February 7th 05, 07:01 PM
Frank Sandrin
 
Posts: n/a
Default

Here's the solution:

First you have to set up the Excel document first by creating an
"anchor":

1. Open the Excel document to the worksheet you want to link (ie.
exceldocument.xls) to the select cell A1
2. Go from the file menu go to INSERT Name Define
3. Type in a short name with only letters and numbers no spaces (ie.
myanchor) and then click OK
4. Save you Excel document

Now you can create your link:

5. The URL should be your excl document #(your defined name). For the
example above it would be exceldocument.xls#myanchor or if you need to
see the whole tag it would be <a href="exceldocument.xls#myanchor"

Voila!

I've test this and it works properly.

Starturtle



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i set consecutive columns in an excel worksheet to differ. Adam H Charts and Charting in Excel 2 February 26th 05 12:08 AM
Extract hyperlink string from excel cell Ryan Sapien Links and Linking in Excel 1 January 20th 05 01:24 AM
Excel 2003 hyperlink problem GregL Links and Linking in Excel 0 January 16th 05 05:03 AM
graphs from multiple worksheet : query Lia Charts and Charting in Excel 1 January 8th 05 05:49 AM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 10:03 PM


All times are GMT +1. The time now is 03:30 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017