Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/92608

From BetaArchive Wiki

Command Button Equivalents in Word for Windows

Q92608



The information in this article applies to:


  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c





SUMMARY

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.



MORE INFORMATION

Word Version 6.0 for Windows

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."

Word Version 2.x for Windows

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."

Word for Windows Versions 1.x

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 

EditGlossary

   Command Button       Action Performed
   -------------------------------------
   .Insert              Performs default action
   .Define              Defines glossary entry
   .Delete              Removes selected glossary entry 

EditSummaryInfo

   Command Button       Action Performed
   -------------------------------------
   .Update              Updates summary information 

EditTable

   Command Button       Action Performed
   -------------------------------------
   .Delete              Deletes selected cell(s)
   .MergeCells          Merges selected cells into one cell
   .SplitCells          Splits selected cell(s) 

FilePrinterSetup

   Command Button       Action Performed
   -------------------------------------
   .Setup               Displays Setup dialog box for selected printer 

FilePrintMerge

   Command Button       Action Performed
   -------------------------------------
   .NewDocument         Writes merged documents to a file
   .Print               Displays File Print dialog box (undocumented) 

FormatDefineStyles

   Command Button       Action Performed
   -------------------------------------
   .Delete              Removes selected style
   .Merge               Merges styles
   .Rename              Renames style 

FormatDocument

   Command Button       Action Performed
   -------------------------------------
   .SetDefault          Changes default document properties to those
                        specified 

FormatPosition

   Command Button       Action Performed
   -------------------------------------
   .Reset               Cancels position formatting of paragraph 

FormatTable

   Command Button       Action Performed
   -------------------------------------
   .NextColumn          Performs new FormatTable command
   .PrevColumn          Performs new FormatTable command 

FormatTabs

   Command Button       Action Performed
   -------------------------------------
   .Clear               Removes selected tab setting
   .ClearAll            Removes all tab settings 

InsertBookmark

   Command Button       Action Performed
   -------------------------------------
   .Delete              Deletes bookmark 

InsertFootnote

   Command Button       Action Performed
   -------------------------------------
   .ContNotice          Inserts a continuation notice for footnotes
   .ContSeparator       Inserts a continuation separator for footnotes
   .Separator           Inserts a separator for footnotes 

MacroAssignToKey

   Command Button       Action Performed
   -------------------------------------
   .ResetAll            Returns menu assignments to default state
   .UnAssign            Removes macro from menu 

MacroAssignToMenu

   Command Button       Action Performed
   -------------------------------------
   .ResetAll            Returns menu assignment to default state
   .UnAssign            Removes macro from menu 

MacroEdit

   Command Button       Action Performed
   -------------------------------------
   .Delete              Deletes macro
   .Rename              Renames macro
   .Set                 Sets macro's context 

UtilRevisionMarks

   Command Button       Action Performed
   -------------------------------------
   .AcceptRevisions     Accepts changes to selection or document
   .Search              Searches for next revision mark
   .Undo                Removes changes from selection or document 

UtilSpelling

   Command Button       Action Performed
   -------------------------------------
   .Delete              Removes word from supplemental dictionary 

Additional query words: winword2 1.0 1.10a 2.0 word6 winword 2.0a-cd

Keywords : kbofficeprog
Issue type :
Technology :


Last Reviewed: March 28, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.