+ Reply to Thread
Results 1 to 3 of 3

Shortcut into Name box

Hybrid View

  1. #1
    Bonnie
    Guest

    Shortcut into Name box

    Hi there. Using E02 on XP. I'm using the Name box (above
    A1) and wonder if there isn't a keystroke to 'jump' into
    it quickly? Thanks in advance for any help!

  2. #2
    Niek Otten
    Guest

    Re: Shortcut into Name box

    Depends on what you use it for. If you quickly want to jump to a named
    range, you can also use F5.

    --

    Kind Regards,

    Niek Otten

    Microsoft MVP - Excel

    "Bonnie" <Hambrick@discussions.microsoft.com> wrote in message
    news:454a01c520c2$f4137fb0$a401280a@phx.gbl...
    > Hi there. Using E02 on XP. I'm using the Name box (above
    > A1) and wonder if there isn't a keystroke to 'jump' into
    > it quickly? Thanks in advance for any help!




  3. #3
    Chip Pearson
    Guest

    Re: Shortcut into Name box

    I use the following macro assigned to Ctrl+Shift+N.

    Public Declare Function SetFocus Lib "user32" (ByVal hwnd As
    Long) As Long
    Public Declare Function FindWindow Lib "user32" Alias
    "FindWindowA" _
    (ByVal lpClassName As String, ByVal lpWindowName As String)
    As Long
    Public Declare Function FindWindowEx Lib "user32" Alias
    "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, _
    ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

    Sub SetFocusNameBox()
    Dim Res As Long
    Res = SetFocus( _
    FindWindowEx( _
    FindWindowEx( _
    FindWindow("XLMAIN", Application.Caption) _
    , 0, "EXCEL;", vbNullString) _
    , 0, "combobox", vbNullString))

    End Sub




    "Bonnie" <Hambrick@discussions.microsoft.com> wrote in message
    news:454a01c520c2$f4137fb0$a401280a@phx.gbl...
    > Hi there. Using E02 on XP. I'm using the Name box (above
    > A1) and wonder if there isn't a keystroke to 'jump' into
    > it quickly? Thanks in advance for any help!




+ 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