Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Parameters of the Microsoft Word connector methods

Learn about the parameters of the Microsoft Word connector methods in RPA Desktop Design Studio.

Parameter NameDescriptionMandatory?
BookmarkBookmark in a Microsoft Word document.Yes
CellIndexIndex of a cell in a table.Yes
ColumnIndexColumn sequence in a table.Yes.The column index must be equal to or greater than zero.
DataTable that contains data to add into a Microsoft Word document.Yes
FilepathFolder location including the name of the document.Yes
EndCellIndexLast cell number of a range.Yes
ImageFilePathThe path to the image with the filename that you want to insert.Yes
Filepathlocation where the document will be exported as a PDF.Yes.You must provide the filename and the PDF extension.
BookmarkExact location on the Word document where the image will be inserted. You must define a bookmark in the document first.Yes
FilePathPath to the Microsoft Word file including the filename.Yes
EndColIndexLast column number of a range for a bulk operation on a table, such as merging cells, searching text, and setting or getting values.Yes
EndRowIndexLast row number of a range for a bulk operation on a table, such as merging cells, searching text, and setting or getting values.Yes
FirstRowIsHeaderBoolean value to indicate whether the method should treat the first row as a header of the table.No
PageIndexPage index value.No.
Return \(Boolean\)Boolean response to indicate whether the request was successful.Not applicable
TimeoutSeconds after which the request to open the document will time out if no response is received.No
StartCellIndexFirst cell number of a range.Yes
StartColIndexFirst column number of a range for a bulk operation on a table, such as merging cells, searching text, and setting or getting values.Yes
StartRowIndexFirst row number of a range for a bulk operation on a table, such as merging cells, searching text, and setting or getting values.Yes
RowIndexRow sequence in a table in the document.Yes.The row index value must be equal or greater than zero.
TableThe table data.Yes
TableIndexIndex of a table in a Microsoft Word document.No
Text Or, FindText Or, ReplaceTextText to be added in a Microsoft Word document in the AddFooter, AddHeader, or InsertText methods.Text to be searched in the document in the Find method. Text to be replaced within the ReplaceBookmark, ReplaceFooterText, ReplaceHeaderText, or ReplaceText methods.Yes
ValueValue in a cell.Yes
TextText to be added to the footer.Yes
FontSizeFont size of the footer text.No
TextCustom text to be added to the header.Yes
FontSizeFont size of the header text.Yes
TextText to find in the document.Yes
Return \(String\)Returns the footer text.Not applicable
Return \(Integer\)Returns the number of pages.Not applicable
Return \(String\)Returns the header text.Not applicable
Return \(String\)Returns the text content.Not applicable
TextText that is inserted in the Word document.Yes
Return \(Boolean\)Returns the Boolean value to indicate whether a Word document is open.Not applicable
saveChangesBoolean response to indicate whether you want to save the changes before closing the document.No
Return \(Boolean\)Boolean response to whether the text was found in the document.Not applicable
Table \(Object\)Returns the data in a table as an object.Not applicable
Data \(DataTable\)Returns the data in the table.Not applicable
Cell Index \(Object\)Returns the value of the cell.Not applicable
Return \(Integer\)Returns the total count of tables in the Microsoft Word document.Not applicable
Row index \(Object\)Returns the data in the cell based on the index value.Not applicable
ColumnIndexThe index value of the column based on which the position of the new column is determined.No.
RowIndexIndex value of the row based on which the position of the row is determined.No
BookmarkSpecific position in the Word document where the table will be inserted.Before inserting the table, you must add a bookmark.Yes
Data \(DataTable\)Table that will be inserted.Yes
FindTextFooter text that will be replaced.Yes
ReplaceTextText that will replace the footer text.Yes
FindTextHeader text that will be replaced.Yes
ReplaceTextText that will replace the header text.Yes
ObjectText to replace the text in the document.Yes
FindText \(String\)Text to be replaced.Yes
ReplaceTextText that will replace the existing text.Yes
LeftResize value from the left margin.Yes
TopResize value from the top margin.Yes
WidthResize width value.Yes
HeightResize height value.Yes

Enter inputs for parameters

To enter inputs for the parameters, see Configure port properties.

Parent Topic:Microsoft Word