...

View Full Version : HELP in tooltip - Good Question



ZecaPOA
07-19-2012, 01:27 PM
Friends,

In Http://www.roseindia.net/javascript/javascriptexamples/javascript-get-excel-file-data.shtml found a routine to access Excel data.

What I need is the same routine with adjusts. The Excel data should be presented as follows: Hovering the mouse over the button the cell information must appear in tooltip next to the button.

Thanks

AndrewGSW
07-19-2012, 06:57 PM
Probably


function GetData(cell,row){
var excel = new ActiveXObject("Excel.Application");
var excel_file = excel.Workbooks.Open("C:\\amitdata.xls");
var excel_sheet = excel.Worksheets("Sheet1");
var data = excel_sheet.Cells(cell,row).Value;
document.getElementById('div1').title='Data: ' + data;
}
but you should attach the title to the button rather than the div.

and use onmouseover

ZecaPOA
07-20-2012, 02:59 AM
Dear friends,

I appreciate any and all expressions of interest for my problem. I understand that you have lost time looking for any ideas. But I ask you to pay attention to my request.

What I need is the Excel DATA IN TOOLTIP

My problem is to show the Excel data in a tooltip next to the button.

Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum