Hallo,
I want to open an excel file which includes macros and buttons in the browser.
Excel files without macros I loaded in the following way:
1. save file as xml (macros get lost here)
2. fileupload and save data in xml_data
3. open as object in html
<object id = 'myexcel' classid = 'CLSID:0002E510-0000-0000-C000-000000000046'> <PARAM NAME='DataType' VALUE='XMLDATA'> <PARAM NAME='XMLDATA' VALUE='<%= xml_data %>'> </object>
It is possible to do it in the following way. But then it is not inline.
<script type='text/javascript'> var exApp = new ActiveXObject("Excel.Application"); exApp.Visible = true; exApp.Workbooks.Open("C:/path/file.xls"); </script>
Has anybody an idea how to open an file including macros in the browser (inline)?
Guido