1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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

Discussion in 'Visual Basic ( VB )' started by sameer_havakajoka, Dec 30, 2009.

  1. sameer_havakajoka

    sameer_havakajoka New Member

    Joined:
    Sep 14, 2009
    Messages:
    271
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Sleeping
    Location:
    Hava Ke Paro Me
    tblTable = oWordApp.ActiveDocument.Tables.Add(oWordApp.Selection.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.Selection.Range, 1, i + 1)

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

    Thanks
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    Why on earth this goes as Help and Support forum and read the description of that forum
     
  3. nimesh

    nimesh New Member

    Joined:
    Apr 13, 2009
    Messages:
    770
    Likes Received:
    20
    Trophy Points:
    0
    Occupation:
    Oracle Apps Admin
    Location:
    Mumbai
    Home Page:
    Can you give the reference for owordapp?
    Is this from a custom library?
     

Share This Page