Ciao Enrico
ho trovato questo tuo esempio , ma quando lo uso ho questo errore :
rror description: Error BASE/1004 Class: 'NIL' has no exported method: CELL
Uso FW27 con xHArbour
Grazie per il tuo aiuto
MAurizio
LOCAL oWord, oDoc, oTable
oWord = CREATEOBJECT( "Word.Application" )
oDoc = oWord:Documents:Add()
oTable = oDoc:Tables:Add( oWord:Selection:Range, 3, 5 )
oTable:Cell( 1, 1 ):Range:InsertAfter( "Prima" )
oTable:Cell( 1, 2 ):Range:InlineShapes:AddPicture("c:\fwharbour\bitmaps\magic.bmp" )
oTable:Cell( 3, 5 ):Range:InsertAfter( "Ultima" )
oWord:Visible = .T.
oWord:WindowState = 1
RETURN NIL