Solved

Link to an Excel Worksheet ???

Posted on 2000-03-22
9
247 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
 
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now