$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Current »

\uD83D\uDCD8 Instructions

Section 9.1: Rules for Creating Accessible Macros

Rule 1: Each macro must have a meaningful name that matches its function.

Rule 2: Each macro must have a clear and complete description of what it does.

Rule 3: A keyboard shortcut must be assigned to each macro.

Instructions to adding a keyboard shortcut.

  1. Go to the Developer Tab.

    Developer Tab in Microsoft Excel.
  2. In the Code section, click Record Macro.

    Record Macro button in Microsoft Excel.
  3. In the Record Macro box, create a name for your macro that is meaningful to what your macro does. In the Shortcut Key, type in the key you want to activate the macro. In Store Macro in: Choose this workbook or your designated workbook. In description, explain what your macro does.

    Record Macro box in Microsoft Excel. Short Cut key is CTRL r. Description is to replace blank cells with no data.
  4. Click OK.

Rule 4: The keyboard shortcut or “hot keys” assigned to a macro must not be the same as an existing short cut.

Record Macro box in Microsoft Excel. Short Cut key is Control C. Description is to replace blank cells with no data.

CTRL C is already used in Excel as a hot key for copying. This cannot be used for another function.

Record Macro box in Microsoft Excel. Short Cut key is CTRL r. Description is to replace blank cells with no data.

CTRL R is not used for anything in Excel, so it is safe to use for a macro.

Rule 5: Users must be alerted that macros are being used in a document. They should know how many of them there are, the name, description, and hotkey of each macro.

A workbook with 2 macros and details about each macros.

  • No labels