HTML <a href=""> to open Excel docuemnt - Specific worksheet

时间:2015-07-10 23:17:47

标签: javascript html excel-2010

I have a problem when trying to reference a Specific worksheet within an excel using a ref in HTML.

<a href="ExcelFileNAme.xltm">\ <!--- works !--->

The below doesn't work when referencing the worksheet.

<a href="ExcelFileNAme.xltm#worksheetname">\

Is there a solution to this, using HTML or JScript without creating xx seperate excel files for accessing each worksheet directly?

If it is possible, is it also possible to hide all the other worksheet pages if the browser ahref points to worksheet1... worksheet 2-n should be hidden.

Thanks, Richard

1 个答案:

答案 0 :(得分:0)

提供单元格引用

<a href="ExcelFileNAme.xltm#worksheetname!A1>