ID: Q92608
The information in this article applies to:
In the Word for Windows WordBasic macro language, command buttons carry out actions. Command button equivalents, when used in conjunction with dialog box equivalent macro statements, cause those actions to be carried out.
Command button equivalents are not regular arguments to the macro statements and are not included in statement syntax. To use a command button equivalent, append it to the argument list. Command button equivalents can only be used with the keyword form of the statement. Only one command button equivalent can be specified per statement.
Word version 6.0 has updated macro commands and sequences used in assigning command buttons. For more information, select the Help menu and choose Contents. Select "WordBasic Programming Lanuguage" and search for "shortcut keys."
For more information on macro statements and the command button equivalents, select the Help menu and choose Help Index. Select "WordBasic Programming Language", and search for "shortcut keys."
The following macro statements can use command button equivalents. For a list of the command button equivalents for each statement, see the tables below.
EditGlossary InsertBookmark
EditSummaryInfo InsertFootnote
EditTable MacroAssignToKey
FilePrinterSetup MacroAssignToMenu
FilePrintMerge MacroEdit
FormatDefineStyles UtilRevisionMarks
FormatDocument UtilSpelling
FormatPosition
FormatTable
FormatTabs
Command Button Action Performed
-------------------------------------
.Insert Performs default action
.Define Defines glossary entry
.Delete Removes selected glossary entry
Command Button Action Performed
-------------------------------------
.Update Updates summary information
Command Button Action Performed
-------------------------------------
.Delete Deletes selected cell(s)
.MergeCells Merges selected cells into one cell
.SplitCells Splits selected cell(s)
Command Button Action Performed
-------------------------------------
.Setup Displays Setup dialog box for selected printer
Command Button Action Performed
-------------------------------------
.NewDocument Writes merged documents to a file
.Print Displays File Print dialog box (undocumented)
Command Button Action Performed
-------------------------------------
.Delete Removes selected style
.Merge Merges styles
.Rename Renames style
Command Button Action Performed
-------------------------------------
.SetDefault Changes default document properties to those
specified
Command Button Action Performed
-------------------------------------
.Reset Cancels position formatting of paragraph
Command Button Action Performed
-------------------------------------
.NextColumn Performs new FormatTable command
.PrevColumn Performs new FormatTable command
Command Button Action Performed
-------------------------------------
.Clear Removes selected tab setting
.ClearAll Removes all tab settings
Command Button Action Performed
-------------------------------------
.Delete Deletes bookmark
Command Button Action Performed
-------------------------------------
.ContNotice Inserts a continuation notice for footnotes
.ContSeparator Inserts a continuation separator for footnotes
.Separator Inserts a separator for footnotes
Command Button Action Performed
-------------------------------------
.ResetAll Returns menu assignments to default state
.UnAssign Removes macro from menu
Command Button Action Performed
-------------------------------------
.ResetAll Returns menu assignment to default state
.UnAssign Removes macro from menu
Command Button Action Performed
-------------------------------------
.Delete Deletes macro
.Rename Renames macro
.Set Sets macro's context
Command Button Action Performed
-------------------------------------
.AcceptRevisions Accepts changes to selection or document
.Search Searches for next revision mark
.Undo Removes changes from selection or document
Command Button Action Performed
-------------------------------------
.Delete Removes word from supplemental dictionary
Kbcategory: kbusage kbmacro
KBSubcategory:
Additional query words: winword2 1.0 1.10 1.10a 2.0 2.0a word6
winword 2.0a-cd 2.0b
Version : 1.x 2.x 6.0 6.0a 6.0c
Platform : WINDOWS
Last Reviewed: July 30, 1997