+ Reply to Thread
Results 1 to 5 of 5

Automatic caps lock

  1. #1
    Birdy
    Guest

    Automatic caps lock

    Rather new here, couldn't find in an nntp search, or on the web side.
    Q: How can I automatically turn on caps lock when I boot excel?
    Remedial, I know, but you all are soooo much more advanced than I.

  2. #2
    Anne Troy
    Guest

    Re: Automatic caps lock

    Try these, Birdy:
    http://www.officearticles.com/excel/...soft_excel.htm
    *******************
    ~Anne Troy

    www.OfficeArticles.com
    www.MyExpertsOnline.com


    "Birdy" <[email protected]> wrote in message
    news:%23Mmng%[email protected]...
    > Rather new here, couldn't find in an nntp search, or on the web side.
    > Q: How can I automatically turn on caps lock when I boot excel?
    > Remedial, I know, but you all are soooo much more advanced than I.




  3. #3
    Birdy
    Guest

    Re: Automatic caps lock

    Bueno! Gracias!

    Anne Troy wrote:
    > Try these, Birdy:
    > http://www.officearticles.com/excel/...soft_excel.htm
    > *******************
    > ~Anne Troy
    >
    > www.OfficeArticles.com
    > www.MyExpertsOnline.com
    >
    >
    > "Birdy" <[email protected]> wrote in message
    > news:%23Mmng%[email protected]...
    >
    >>Rather new here, couldn't find in an nntp search, or on the web side.
    >>Q: How can I automatically turn on caps lock when I boot excel?
    >>Remedial, I know, but you all are soooo much more advanced than I.

    >
    >
    >


  4. #4
    Anne Troy
    Guest

    Re: Automatic caps lock

    De Nada!
    "Birdy" <[email protected]> wrote in message
    news:[email protected]...
    > Bueno! Gracias!
    >
    > Anne Troy wrote:
    > > Try these, Birdy:
    > >

    http://www.officearticles.com/excel/...soft_excel.htm
    > > *******************
    > > ~Anne Troy
    > >
    > > www.OfficeArticles.com
    > > www.MyExpertsOnline.com
    > >
    > >
    > > "Birdy" <[email protected]> wrote in message
    > > news:%23Mmng%[email protected]...
    > >
    > >>Rather new here, couldn't find in an nntp search, or on the web side.
    > >>Q: How can I automatically turn on caps lock when I boot excel?
    > >>Remedial, I know, but you all are soooo much more advanced than I.

    > >
    > >
    > >




  5. #5
    Christophe Niel
    Guest

    Re: Automatic caps lock

    Here is a bit of code I was using before I learned about a UPPER() function.
    Thats a bit violent :
    '------------
    Option Explicit

    Private Declare Function SetKeyboardState Lib "user32" _
    (lppbKeyState As Byte) As Long
    Private Declare Function GetKeyboardState Lib "user32" _
    (lppbKeyState As Byte) As Long

    Private Declare Function GetKeyState Lib "user32" _
    (ByVal nVirtKey As Long) As Integer

    Private Sub SetKeyState(ByVal Key As Long, ByVal State As Boolean)
    Dim Keys(0 To 255) As Byte
    GetKeyboardState Keys(0)
    Keys(Key) = Abs(CInt(State))
    SetKeyboardState Keys(0)
    End Sub

    public Sub setCapsLock(ByVal Value As Boolean)
    SetKeyState KeyCodeConstants.vbKeyCapital, Value
    End Sub
    '-------------

    Now you can call
    setCapsLock(true) in a autorun macro
    and
    setCapsLock(false) in a autclose

    ONE PROBLEM : the keyboard indicators are not refreshed, but it's really in
    caps

    I Highly recommend using a Upper() function (if that's possible).

    HTH
    Christophe


    "Birdy" <[email protected]> a écrit dans le message de news:
    %23Mmng%[email protected]...
    > Rather new here, couldn't find in an nntp search, or on the web side.
    > Q: How can I automatically turn on caps lock when I boot excel?
    > Remedial, I know, but you all are soooo much more advanced than I.




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1