#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Scroll lock....

I need to turn my scrl lock key off, I have a wireless keyboard and I think
the "scrlk" key doesnt't work. Is there any other way I can turn it OFF?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Scroll lock....

I think I'd get the manual out. Maybe there's a function button that has to be
held down while you toggle that key.

In fact, you may want to post the name/model of your wireless keyboard--maybe
someone hanging around here uses it.

Or search google for help.

But you can use a macro inside excel that can toggle that setting.

Option Explicit
Declare Function SetKeyboardState Lib "User32" _
(kbArray As Byte) As Long
Declare Function GetKeyboardState Lib "User32" _
(lpKeyState As Byte) As Long
Sub ToggleScrollLock()
Dim KeyState(0 To 255) As Byte
GetKeyboardState KeyState(0)
KeyState(&H91) = 0 ' = 0 for off, = 1 for on
SetKeyboardState KeyState(0)
End Sub


When I tested it, the keyboard light got out of sync with the actual
function--but the SCRL in the statusbar was correct.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ximena wrote:

I need to turn my scrl lock key off, I have a wireless keyboard and I think
the "scrlk" key doesnt't work. Is there any other way I can turn it OFF?
Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Scroll lock....

Make: Microsoft wireless 1.0A, Model: 1027
Thanks

"Ximena" wrote:

I need to turn my scrl lock key off, I have a wireless keyboard and I think
the "scrlk" key doesnt't work. Is there any other way I can turn it OFF?
Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I lock a column so it doesn't move when I scroll across? Lanette Excel Discussion (Misc queries) 1 August 9th 06 07:30 PM
Excel acts as if scroll lock is on when it is not Hyehats Excel Discussion (Misc queries) 4 October 18th 05 01:33 PM
Enough with Scroll Lock in Excel 2003 Brett Setting up and Configuration of Excel 2 May 4th 05 11:42 PM
Scroll Lock jrh Excel Discussion (Misc queries) 0 January 18th 05 03:38 PM
scroll lock PCOR Excel Discussion (Misc queries) 6 December 5th 04 08:08 PM


All times are GMT +1. The time now is 12:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"