Hi all,
I am trying to embed a html document in Excel document using Win32OLE.
The VBA Excel reference talks about this by using the OleObject Add
method.
However I am not sure how do I pass the optional argument in ruby which
OLE
will understand. Following is the snippet of the sample from VBA
refernce.
==============
|Set myDocument = Worksheets(1)
myDocument.Shapes.AddOLEObject Left:=100, Top:=100, _ Width:=200,
Height:=300, _ FileName:=“c:\my documents\testing.doc”, link:=True|
I tried passing null, but it failed miserably. I am not sure if I pass
some argument incorrectly
or the method I am using to pass the arguments is incorrect.
Can somebody let me know the exact syntax in ruby to make this call
successful.
Any relevant pointers will be appreciated.
Thanks and Regards,
Manish