Dear all,

I am using Excel 2007.
I have written the c# dll which will use in Excel.
Dim myObject as Object
set myObject=new dllname.dllclass // it show the captioned error.

Do you know why?
I think it should be excel vba program of the lines above.

Please help!!!