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,375
    Likes Received:
    388
    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:
    769
    Likes Received:
    20
    Trophy Points:
    0
    Occupation:
    Oracle Apps Admin
    Location:
    Mumbai
    Home Page:
    http://techiethakkar.blogspot.com
    Can you give the reference for owordapp?
    Is this from a custom library?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice