Contents - Index


Word. (Macro Commands)

 

WORD.FileNew

Start WORD and create a new empty document.

 

WORD.FileOpen('FileName')

Start WORD and open the specified Word file.  It is necessary to provide the complete file name.

 

WORD.FileSaveAs('FileName')

Save the current WORD document with the specified filename.  

 

WORD.Hide

Hide the open WORD document.

 

WORD.Insert('any text here')

Insert the text contained with single quotes into the WORD document at the current position.

 

WORD.Paste

Paste the current contents of the Clipboard into WORD.

 

WORD.PasteSpecial(formatType)

Paste the current contents of the Clipboard into WORD in the specified format.  The formatType can be TEXT, PICTURE, BITMAP, DEVICE INDEPENDENT BITMAP, and ENHANCED METAFILE.

 

WORD.Quit

Close the communication with WORD.

 

WORD.Show

Make the open WORD document visible.

 

MacroCommands