Results 1 to 8 of 8

Num Lock gets off when opening the workbook

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Num Lock gets off when opening the workbook

    Hi there!

    I've just added the following code to my workbook
    Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target _
    As Excel.Range)
    If Target.Worksheet.Name = "2014" Then
        If Target.Column = 2 Or Target.Column = 5 Or Target.Column = 10 Or Target.Column = 11 Or Target.Column = 19 Or Target.Column = 30 Or Target.Column = 34 Then
        Application.SendKeys ("%{down}")
        End If
    End If
    End Sub
    and when I open it, the num lock turns off. Any idea why?
    Last edited by boboivan; 03-31-2014 at 08:53 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy data one workbook to another workbook without opening workbook
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2014, 11:28 AM
  2. [SOLVED] Stop an excel workbook or worksheet from opening if workbook isn't in a certain folder
    By Raulus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-05-2013, 05:30 AM
  3. Opening Excel Application before Opening Workbook
    By danny2000 in forum Access Tables & Databases
    Replies: 2
    Last Post: 05-27-2011, 07:02 AM
  4. Lock up when opening files in Excel
    By Mike in the UK in forum Excel General
    Replies: 1
    Last Post: 04-15-2006, 08:40 AM
  5. [SOLVED] How do I deny opening and viewing any file to any user and lock i.
    By Leah Wright in forum Excel General
    Replies: 1
    Last Post: 04-22-2005, 07:06 PM

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