How to Stop Arrow Keys from Scrolling in Excel: 3 Easy Methods

Method 1 – Using Hardware Keyboard Scroll Lock Key to Stop Arrow Keys from Scrolling in Excel

Steps:

  • Press the SCROLL LOCK button on the Keyboard.

You will see the “Scroll Lock” is not there anymore on the Status Bar.

Using Hardware Keyboard Scroll Lock Key to Stop Arrow Keys from Scrolling

Move the mouse cursor with the Arrow keys, we will see that scrolling in Excel is no longer the problem. We have finished the first solution to our issue.


Method 2 – Preventing Arrow Keys from Scrolling Through On-Screen Keyboard

Steps:

  • The Status Bar is reflecting that our Arrow keys will scroll in our dataset.

Use of On-Screen Keyboard to Stop Arrow Keys from Scrolling

  • Press the Windows Key + R.

This will bring up the Run dialog box.

  • Type “osk” inside the Open box.
  • Press OK.

Notice that the On-Screen Keyboard has been opened.

  • Click on the “ScrLk” button on the On-Screen Keyboard.

How to Stop Arrow Keys from Scrolling in Excel using On-Screen Keyboard

This will stop the Arrow keys from scrolling in Excel. We pressed the Down Arrow key, our cursor moved from cell B5 to cell B6.


Method 3 – Stopping Arrow Keys from Scrolling by Applying Excel VBA

Steps:

  • From the Developer tab >>> select Visual Basic.

This will bring up the Visual Basic window.

  • From Insert >>> select Module.

Write our code.

Stop Arrow Keys from Scrolling by Applying VBA: Insert Code Module

  • Type the following code.
Sub Turn_Off_Scrolling()
Application.SendKeys "{SCROLLLOCK}"
End Sub

VBA Code Breakdown

  • We are calling our Sub Procedure Turn_Off_Scrolling.
  • We are using the SendKeys method to input a Keyboard button.
  • We have defined “Scroll Lock” as our button to send.

This code works to turn off Scrolling in Excel.

  • Save the code.
  • Put the cursor inside the code and press Run.

Stop Arrow Keys from Scrolling by Applying VBA: Run Code

  • Close this window.

This will execute our code as described in the VBA code breakdown section. It will stop the Arrow keys from scrolling and if we press the Right Arrow key our cursor will move from cell B5 to B6.


Download Practice Workbook


Related Articles


<< Go Back to Scrolling in Excel | Navigation in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Rafiul Haq
Rafiul Haq

Rafiul Haq worked as an Excel and VBA Content Developer in Exceldemy for over two years and published almost 200 articles for the website. He is passionate about exploring new aspects of Excel and VBA. He received his Bachelor of Science in Mechanical and Production Engineering (MPE) from the Islamic University of Technology. Rafiul furthered his education by obtaining an MBA in Finance from the Institute of Business Administration (IBA) at the University of Dhaka. Apart from creating... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo