Excel up and down arrow keys move page instead of cell

Updated: 11/16/2019 by Computer Hope
Microsoft Excel

When the scroll lock feature is turned on, pressing an arrow key causes Microsoft Excel to move the entire spreadsheet, instead of moving to the next cell. Although helpful for a user viewing a large worksheet, it's also quite annoying for those who have mistakenly enabled this feature. The following sections give instructions for turning off the scroll lock feature.

Turning off scroll lock with the keyboard key

On a Windows computer, to toggle scroll lock on and off, press the Scroll Lock key. On most keyboards, it's located in the control keys section of the keyboard, above the arrow keys or right of the function keys.

On a Mac computer, to toggle scroll lock on and off, press the F14 or the Shift+F14 key combination. If that does not turn off scroll lock, try pressing Command+F14.

Turning off scroll lock without the keyboard key

Select the operating system on your computer from the list below, and follow the instructions.

Windows 10 users

  1. Press the Windows key.
  2. Type on-screen keyboard and press Enter.
  3. When the on-screen keyboard appears, click the ScrLk button on the right side of the on-screen keyboard.
Note

To turn on Scroll Lock again, repeat the steps above.

Windows 8 users

  1. Navigate to your Start Screen.
  2. Type on-screen keyboard and press Enter.
  3. You should see a full keyboard appear. If you see a small bar with a few keys, click General.
  4. When the on-screen keyboard appears, click the ScrLk button on the right side of the on-screen keyboard.
Note

To turn on Scroll Lock again, repeat the steps above.

Windows XP, Vista, and 7 users

  1. Click Start in the lower-left corner of your desktop.
  2. Locate the search bar in the window that appears.
  3. Type on-screen keyboard and press Enter.
  4. When the on-screen keyboard appears, click the ScrLk or Slk button.
Note

To turn on Scroll Lock again, repeat the steps above.

macOS users

If you do not have an extended keyboard, and therefore no F14 key, for your Mac computer, you need to use an AppleScript to turn off Scroll Lock.

  1. Open a blank text file in your preferred text editor.
  2. Copy and paste the following script code into the text editor.
Note

In the script below, some lines wrap around to the next line. In your AppleScript document, these should be written as one long line.

set returnedItems to (display dialog "Press OK to send scroll lock keypress to Microsoft Excel or press Quit" with title "Excel Scroll-lock Fix" buttons {"Quit", "OK"} default button 2)

set buttonPressed to the button returned of returnedItems

if buttonPressed is "OK" then

tell application "Microsoft Excel"

activate

end tell

tell application "System Events"

key code 107 using {shift down}

end tell

activate

display dialog "Scroll Lock key sent to Microsoft Excel" with title "Mac Excel Scroll-lock Fix" buttons {"OK"}

end if
  1. Save the text file with a file name of Excel-ScrollLock.applescript and save it to a location where you can easily access it.
  2. Open Microsoft Excel.
  3. Double-click the Excel-ScrollLock.applescript file, opening an AppleScript window. Click the Run button near the top-left of the AppleScript window.

Play button in AppleScript window

  1. In the Excel Scroll-lock Fix prompt window, click OK.
Note

To turn on Scroll Lock again, repeat the steps above.

Additional information