WordFile.Append
---------------

Appends one word file text to other.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WordFile](component_WordFile.md) | [7.5](newinversion75.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WordFile.Append"; WordFile; Other WordFile { ; AddPageBreak } ) 

**MBS**( **"WordFile.Append"** /\* Appends one word file text to other. \*/  
**$WordFile**; /\* The reference number of the open word file. \*/   
**$Other WordFile**; /\* The reference number of the second word file. e.g. $wordFile2 \*/   
**$AddPageBreak**) /\* Optional; Whether to add a page break. e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WordFile | The reference number of the open word file. | $wordFile |  |
| Other WordFile | The reference number of the second word file. | $wordFile2 |  |
| AddPageBreak | Whether to add a page break. | 1 | Optional      Added in version **9.2**. |

### Result

Returns OK or error.

### Description

Appends one word file text to other.  
This function takes document part from other word file and copies it’s xml nodes to the current document.  
Please only copy from one document to other if they both are made from same template, so internal IDs for styles match.  
### See also

- [WordFile.AppendTableRow](WordFileAppendTableRow.md)
- [WordFile.DuplicateTableRow](WordFileDuplicateTableRow.md)

### Release notes

- **Version 9.2**
    - Added AddPageBreak parameter for [WordFile.Append](http://www.mbsplugins.eu/WordFileAppend.shtml).
- **Version 7.5**
    - Added [WordFile.Append](http://www.mbsplugins.eu/WordFileAppend.shtml).
- **Version 7.1**
    - Added [WordFile.AppendTableRow](http://www.mbsplugins.eu/WordFileAppendTableRow.shtml) and [WordFile.DuplicateTableRow](http://www.mbsplugins.eu/WordFileDuplicateTableRow.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 9.2pr4](https://www.mbsplugins.de/archive/2019-04-25/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.5pr9](https://www.mbsplugins.de/archive/2017-11-23/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2021, Seite 20](https://filemaker-magazin.de/neuigkeit/4165-Appetithappen-FMM_202106)

This function checks for a license.

Created 22nd November 2017 , last changed 19th April 2019

  
[WindowsUserNotification.XMLUsed](WindowsUserNotificationXMLUsed.md) - [WordFile.AppendTableRow](WordFileAppendTableRow.md)

[HTML Version](WordFileAppend.shtml)