FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Paste, Merge WORD documents
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Paste, Merge WORD documents
Posted: 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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Paste, Merge WORD documents
Posted: Wed Oct 16, 2013 03: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
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: Paste, Merge WORD documents
Posted: Wed Oct 16, 2013 03: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

Continue the discussion