(C) 2009 - 2018 by Mourad Louha · All rights reserved

All posts tagged Embed

If you are using SkyDrive for storing your Office documents, you have probably already discovered the features for sharing your files with other people. And perhaps you have also read on some blogs how to embed an Excel file to your website. Recently, the Excel Team has created the possibility to interact with an embedded Excel file by using JavaScript.

In this blog post, I will describe how to embed and interact with an Excel file from SkyDrive. For this, I uploaded a web app compatible version of my workbook for my Excel formula translations and then I implemented some JavaScript Code to change values in the embedded file.

The workbook includes five worksheets: “Info” just includes some info’s about me, “Formulas” lists the formulas in the different languages, “Compare” can be used for comparing the formulas in two languages, “Languages” includes the list of available languages and “Resources” allows to select between the three languages German, English and French for the interface of the workbook. My goal was now to allow to the user to select the two languages for comparing the formulas and to switch from one interface language to another.

Learn and explore

Microsoft has recently launched the website “Excel Mashup”, where in addition to learning materials and tutorials you will also find some very interesting code samples. The site also lists the most important links to the MSDN documentation about the JavaScript object model, methods and properties for the Excel Services.

Read more