Write Text

Writes the specified text into a Word file.

Write the text at a position relative to a specified bookmark, newline, or at the end of a specified Word document.

This activity can only be used after the Open Word Document activity.

Input

  • Input : WordHandle VariableRequired The word handle object to reference the opened word document.

  • Text Content : String Argument Required The text content that is to be written to a word document.

Options

  • Bookmark : String ArgumentOptional The bookmark in which the text content is to be inserted.

  • New Line : Integer ArgumentOptional The number of lines written before writing the text content.

If the input word document contains a table, then the line number depends on the number of cells in the table.

  • Position : Optional

    • Before - The Text will be inserted before the bookmark. (default)

    • After - The Text will be inserted after the bookmark.

  • Text Style :

    • Normal - The text is formatted as the default style. (default)

    • Bold - The text is formatted as bold.

    • Italic - The text is formatted as italic.

Last updated