VB.NET : 'Range' is not a by reference property.

sameer_havakajoka's Avatar
Skilled contributor
tblTable = oWordApp.ActiveDocument.Tables.Add(oWordApp.Select ion.Range, 1, i + 1)
VB.NET

Can anyone please tell me how to rid out of this or any other solution?

Table = oWordApp.ActiveDocument.Tables.Add(oWordApp.Select ion.Range, 1, i + 1)

Err : 'Range' is not a by reference property.

Thanks
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Why on earth this goes as Help and Support forum and read the description of that forum
0
nimesh's Avatar, Join Date: Apr 2009
Invasive contributor
Can you give the reference for owordapp?
Is this from a custom library?