Results 1 to 2 of 2

Thread: Word Range=?

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    62

    Word Range=?

    I want to create a table and tries it with this row.
    word_document_main.Range.Tables.Add(X, 1, 2)
    It wants a specific value instead of "X".
    The Value have to be Range as Word.Range
    What is that for value?
    Can you give me any example of an value?

    Word_Document_Main is declared as Word.Document

    Thanks...
    //Martin Andersson

  2. #2

    Thread Starter
    Member
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    62
    Nm.
    I found it.
    Declared a vaiable as
    Dim range As Word.Range = word_document_main.Range(0, 0)
    And then it worked
    Last edited by Iceman5; Jun 8th, 2004 at 05:11 AM.
    //Martin Andersson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width