Paste, Merge WORD documents

Paste, Merge WORD documents

Postby Adolfo » Wed Oct 16, 2013 12:04 pm

Hi everybody.

Is there a way to paste diferent word documents in one, taking care to respect each document's format

Something like cDocFinal:=(cDoc1.docx + cDoc2.docx + cCona.docx + cExp1.docx)

Any help will be appreciated.

Thanks in advance
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: Paste, Merge WORD documents

Postby Enrico Maria Giordano » Wed Oct 16, 2013 3:16 pm

Adolfo,

Adolfo wrote:Hi everybody.

Is there a way to paste diferent word documents in one, taking care to respect each document's format

Something like cDocFinal:=(cDoc1.docx + cDoc2.docx + cCona.docx + cExp1.docx)

Any help will be appreciated.

Thanks in advance


I presume you want to do it programmatically. Have a look at InsertFile() method (Word OLE).

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Paste, Merge WORD documents

Postby Adolfo » Wed Oct 16, 2013 3:29 pm

Thanks Enrico

Yes I want to do it "programmatically"..

Going to test Insertfile().

Thanks Again.

From Chile
Adolfo
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests