Word user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <Word.au3>.

 

User Defined Function Description
_Word_Create Connects to an existing Word instance or creates a new Word application object
_Word_DocAdd Adds a new or empty document to the specified Word application
_Word_DocAttach Attaches to the first instance of a Word document where the search string matches based on the selected mode
_Word_DocClose Closes the specified Word document
_Word_DocExport Exports the document or a range as PDF or XPS
_Word_DocFind Runs or repeats the specified find operation
_Word_DocFindReplace Runs the specified find and replace operation
_Word_DocGet Returns a collection object containing all documents or an object for a single document
_Word_DocLinkAdd Adds a hyperlink to the document
_Word_DocLinkGet Returns a collection object containing all links in the document or a single link object
_Word_DocOpen Opens a Word document
_Word_DocPictureAdd Adds a picture to the document
_Word_DocPrint Prints all or parts of the specified document
_Word_DocRangeSet Sets or modifies a range in a document
_Word_DocSave Saves the specified Word document
_Word_DocSaveAs Saves the specified Word document with a new name or format
_Word_DocTableRead Reads a Word table and returns the content as a two-dimensional array
_Word_DocTableWrite Writes a one or two dimensional array to a Word table
_Word_Quit Closes all documents, the Word application and removes the object reference to it