Select Fragment#
Selects a fragment from a Word document based on specified indices. The block works only when the "Use COM" property is enabled in the "Create Document" or "Open Document" blocks.
| Document Link | [Link] Link to the open Word document where the Work is currently taking place. The variable name in this property must match the variable name in the "Document Link" property of the "Create Document" or "Open Document" blocks from the Word group that were previously used to create or open this document. |
| Start Page Index | [Number] Start page index for searching. Numbering starts from 1. |
| End Page Index | [Number] End page index for searching. Numbering starts from 1. |
| Start Character Index | [Number] Start character index for searching. Numbering starts from 0. If the "Start Page Index" property is specified and is greater than zero, this property is ignored. |
| End Character Index | [Number] End character index for searching. Numbering starts from 0. If the "End Page Index" property is specified and is greater than zero, this property is ignored. |
| Fragment | [Link] Link to the Range object. Examples of available properties:
To replace text in the document based on this fragment, assign a new value to the Text property, for example, $Range.Text = "New text". |
| Page Number | [Number] Page number containing this fragment. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that the blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |