AltForMac: Windows Alt shortcuts for Office on Mac
AltForMac icon

Your Windows Alt shortcuts, working in Office for Mac.

Tap Option, then type H O I or W V G the way you did on Windows. Excel, Word and PowerPoint run the command, right down to the last letter inside a dropdown.

Download for MacAltForMac.dmg · free · version 0.1.3

macOS 13 or later, Apple Silicon. New to installing Mac apps? Follow the step-by-step guide.

Real Excel for Mac, fake sales data. It pauses a moment on each HUD so you can read it: H O I AutoFit columns, H O A AutoFit rows, W V G gridlines, N V PivotTable.

Why

Alt sequences do nothing on Mac

Years of Windows muscle memory, and on a Mac the same keys type odd characters instead.

Office's own KeyTips stop short

They can open a dropdown but not choose the item inside it, so you reach for the mouse anyway.

The mouse slows down real work

A model or a data clean-up is hundreds of small commands. Every trip to the ribbon breaks your flow.

Features

387 sequences

Excel 206, Word 107, PowerPoint 74, including the final letters inside dropdowns.

A guide as you type

The HUD lists the valid next letters. Escape goes back a level, Backspace removes a letter.

Private

No networking code at all. It never reads cells, formulas, file names or document text.

Safe

Office's confirmation dialogs stay. Option with other keys works as normal. It never blocks typing.

The AltForMac HUD in Excel after typing Option, H, O. It lists A AutoFit row height, D Default column width, H Row height, I AutoFit column width, M Move or copy sheet, R Rename sheet, U Hide and Unhide, W Column width.
The HUD in Excel after ⌥ H O: what you typed, and every letter that can come next.
Shortcuts
ABC
1Keys after ⌥CommandRibbon tab
2H O IAutoFit column widthHome
3H V SPaste SpecialHome
4H KComma styleHome
5H B AAll bordersHome
6N VInsert PivotTableInsert
7A TToggle filterData
8A W GGoal SeekData
9M PTrace precedentsFormulas
10W F FFreeze panesView
11W V GToggle gridlinesView

Full lists for Excel, Word and PowerPoint: mappings folder.

Install guide

About two minutes, no Terminal needed. Needs macOS 13 (Ventura) or later on an Apple Silicon Mac.

  1. Download AltForMac

    Click Download for Mac. The file AltForMac.dmg goes to your Downloads folder. Its icon there looks plain; that is normal.

  2. Drag it into Applications

    Double-click AltForMac.dmg. In the window that opens, drag the green AltForMac icon onto the blue Applications folder.

    The AltForMac install window: drag the AltForMac icon onto the Applications folder.
  3. Open AltForMac

    Open your Applications folder (in Finder, press ⇧ ⌘ A) and double-click AltForMac.

    The AltForMac app icon in the Applications folder.
  4. macOS warns you: click Done

    macOS says “AltForMac” Not Opened. Click Done, not Move to Trash. This warning appears for apps that are not registered with Apple's paid verification yet. AltForMac is free and its code is public.

    macOS warning: AltForMac Not Opened. Apple could not verify it. Buttons: Move to Trash and Done.
  5. Click Open Anyway

    Open System Settings (Apple menu > System Settings), click Privacy & Security and scroll down to Security. Next to “AltForMac was blocked”, click Open Anyway. Enter your Mac password or use Touch ID, then click Open. You only do this once.

    Privacy and Security settings: AltForMac was blocked to protect your Mac, with an Open Anyway button.
  6. Allow it to use the keyboard

    AltForMac asks for Accessibility access. It needs this to see your keys in Office and press menu items for you. Click Open System Settings.

    AltForMac would like to control this computer using accessibility features. Buttons: Open System Settings and Deny.
  7. Switch AltForMac on

    In the Accessibility list, turn on the switch next to AltForMac and confirm with your password or Touch ID. The ⌥ icon in the menu bar (top right of the screen) shows ⌥ when it is ready, or ⌥! if it still needs permission.

    Accessibility settings list with AltForMac and its switch.
  8. Turn off Office's own KeyTips

    In Excel, open the Excel menu > Preferences > Accessibility. Under KeyTips, set Activation keystroke to Disabled. Do the same in Word and PowerPoint if you use them. Otherwise Office and AltForMac both react when you tap Option.

    Excel Preferences, Accessibility, KeyTips: Activation keystroke menu with Disabled selected.
  9. Try it

    In Excel, tap ⌥ Option (press and let go), then type W V G. The gridlines switch off. The first time, macOS asks whether AltForMac may control Microsoft Excel: click Allow. macOS uses the same wording for every app; AltForMac only sends commands such as “toggle gridlines” and never reads your documents. Word and PowerPoint ask once too.

    macOS asks: AltForMac wants access to control Microsoft Excel. Buttons: Don't Allow and Allow.

Homebrew (skips steps 4 and 5)

brew install --cask dtung011/altformac/altformac

From source (Intel Macs too)

git clone https://github.com/dtung011/altformac.git
cd altformac && scripts/package.sh

After an update

macOS treats each new version as a different app, so the menu-bar icon shows ⌥!. In the Accessibility list, select AltForMac, click the minus button, open AltForMac again and switch on the new entry.

Uninstall
  1. From the app (DMG installs, 0.1.3 and later): click the ⌥ menu-bar icon and choose Uninstall AltForMac…. It removes its Accessibility and Automation permissions, moves the app to the Trash and quits.
  2. Homebrew: run brew uninstall --cask altformac. It quits, deletes and removes the permissions too.
  3. Dragged to the Trash yourself? macOS keeps a deleted app's permissions and the app cannot remove them. Run tccutil reset All dev.altformac.app, or in System Settings > Privacy & Security open Accessibility and Automation, select AltForMac and click the minus button.

Afterwards, turn Office's KeyTips back on if you want them: in Excel, Word and PowerPoint open Preferences > Accessibility and set KeyTips Activation keystroke back to ⌥.

AltForMac installs no background services and writes nothing outside its app bundle, so there is nothing else to clean up. If you added it to Login Items, remove it there too.

Ready Version 0.1.3 macOS 13+ MIT license