library(RDCOMClient)
library(SWinTypeLibs)
o = COMCreate("Excel.Application")
e = new("ExcelApplication")
e@ref = o@ref
# e$ActiveWindow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.