Hi,
you could declare the objects of Excel without type. I believe iLogic has import Excel reference, that is why there are some methods under the category Excel. The iLogic code below works well at my side.
Dim oDoc As AssemblyDocument
oDoc = ThisApplication.ActiveDocument
Dim odef As AssemblyComponentDefinition
odef = oDoc.ComponentDefinition
Dim oFactory As iAssemblyFactory
oFactory = odef.CreateFactory
Dim oWorkSheet
oWorkSheet = oFactory.ExcelWorkSheet
Dim oCells
oCells = oWorkSheet.Cells
' Columns...
oCells.Item(1, 2) = "HANDLE CAP:1:Include/Exclude"
oCells.Item(1, 3) = "HANDLE CAP:2:Include/Exclude"
oCells.Item(1, 4) = "LEVER ARM:1:Include/Exclude"
oCells.Item(1, 5) = "Arbor_Frame:1:Grounding Status"
oCells.Item(1, 6) = "d75"
oCells.Item(1, 7) = "d92"
' Row 1 values...
oCells.Item(2, 1) = "Arbor_Press-01"
oCells.Item(2, 2) = "Include"
oCells.Item(2, 3) = "Include"
oCells.Item(2, 4) = "Include"
oCells.Item(2, 5) = "Grounded"
oCells.Item(2, 6) = "0.0 in"
oCells.Item(2, 7) = "180.00000"
' Row 2 values...
oCells.Item(3, 1) = "Arbor_Press-02"
oCells.Item(3, 2) = "Include"
oCells.Item(3, 3) = "Include"
oCells.Item(3, 4) = "Include"
oCells.Item(3, 5) = "Grounded"
oCells.Item(3, 6) = "0.5 in"
oCells.Item(3, 7) = "90.00000"
' Row 3 values...
oCells.Item(4, 1) = "Arbor_Press-03"
oCells.Item(4, 2) = "Exclude"
oCells.Item(4, 3) = "Exclude"
oCells.Item(4, 4) = "Exclude"
oCells.Item(4, 5) = "Ungrounded"
oCells.Item(4, 6) = "0.0 in"
oCells.Item(4, 7) = "180.00000"
Dim oWB
oWB = oWorkSheet.Parent
oWB.Save
oWB.Close