+ Reply to Thread
Results 1 to 2 of 2

[SOLVED] Copy from word table

  1. #1
    RRodrigues
    Guest

    [SOLVED] Copy from word table

    Hi,

    I need a code to copy the information from cells in a Word table, to Excel.

    I don't know if it helps, but the cells have bookmarks.

    Is it possible?

    Thanks
    Ricardo Rodrigues

  2. #2
    Art H
    Guest

    Re: Copy from word table

    Use something like:

    ActiveDocument.Tables(x).Cell(y, z).Select

    where x is table number, y is row number of table, and z is column
    number of table. Be aware that, for a non-empty Word cell, the
    selection contains the "cell terminator." I just remove the last two
    characters. You could also use the statement:

    Selection.MoveLeft unit:=wdCharacter, Count:=1, Extend:=True

    to get rid of the "cell terminator."


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1