Solved

Link to an Excel Worksheet ???

Posted on 2000-03-22
9
253 Views
Last Modified: 2010-04-09
Hi,
 
I'm building a web page and would like to set up a link to an Excel spreadsheet. However, I'd like the link to point to a SPECIFIC worksheet inside the Excel workbook. Example; Test.xls (sheet 5). What code can I use to accomplish this ? I'm currently using the following HTML: HREF="C:\HTML DESIGN\Test.xls">
 
Any ideas would be greatly appreciated.
 
Thanks,
Paul
 
0
Comment
Question by:PaulBukowski
9 Comments
 
LVL 2

Expert Comment

by:egbservices
ID: 2647780
No comment, no answer... I am just interested in the outcome. EdiI
0
 
LVL 2

Expert Comment

by:coopa
ID: 2648348
I believe if you save the excel document whilst viewing worksheet 5, then the page will open that worksheet by default.... I'm going to check now...
0
 
LVL 2

Expert Comment

by:coopa
ID: 2648353
Just tested it.... it seems to work  

8o)
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 4

Expert Comment

by:ruperts
ID: 2648583
(EdiI - if you just want to keep up to date with the question, select comment and the just press submit! You don't need to actually add any comments.)
0
 
LVL 4

Expert Comment

by:ruperts
ID: 2648584
(EdiI - if you just want to keep up to date with the question, select comment and the just press submit! You don't need to actually add any comments.)
0
 
LVL 1

Expert Comment

by:cybernietic
ID: 2649319
<a href=file:///C|/HTML DESIGN\Test.xls>Test.xls</a>
I don't think it's possible to open a document at a given sheet
0
 
LVL 2

Expert Comment

by:coopa
ID: 2649377
cybernietic, if you read the rest of the post you could have saved all that typing.  

8o)
0
 
LVL 1

Accepted Solution

by:
Hocam earned 50 total points
ID: 2650678
I think I know the answer:
If you are using MS Excel2000 follow the below steps:

1) Open your Excel (xls) file.
2) Select the WorkSheet you want to put on website.
3) From 'File' menu select 'Save as Web Page..."
4) You will see two Save options. Select 'Selection: Sheet'
5) And save it with a desired name. Just link to this htm page instead of linking to xls file.

I hope this helps...
-Hocam
0
 

Expert Comment

by:scalton
ID: 3916535
Microsoft documentation says:
<A HREF="C:\HTML DESIGN\Test.xls#Sheet5">Sheet 5</HTML>

and then you define that name in a cell on that sheet.

I've never got it to work.

See: http://support.microsoft.com/support/kb/articles/Q197/9/22.ASP 
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question