Hi Jeff.
Is there a way to do the reverse, say I have a word document with a table of names and address. How could I move the data from this word table to a VFP table?I just did a little testing from the command window, and it seems like it shouldn't be too hard. This works:
oDoc = GETOBJECT( 'D:\OFFICEXP\DOCUMENTS\MGA.DOC' )
oTable = oDoc.Tables( 1 )
lnRows = oTable.Rows.Count
lnCols = oTable.Columns.count
FOR lnI = 1 TO lnRows
FOR lnJ = 1 TO lnCols
?otable.Cell( lnI, lnJ).Range.Text
ENDFOR
ENDFOR