LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Application.OnKey problem

Hi all,

I'm trying to disable number entry in an Excel workbook. I use:

Application.OnKey "1", vbNullString
Application.OnKey "2", vbNullString
etc.

My problem is that this doesn't disable the entry of "1", "2", etc. on the numeric keypad (with NumLock on), just those above the letter keys.

Any ideas?

Thanks, Phillip
 
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
application.match and value problem Cbrehm Excel Discussion (Misc queries) 0 February 12th 11 04:34 PM
Problem with application.Hlookup Brotherwarren Excel Discussion (Misc queries) 6 February 23rd 06 08:09 AM
Onkey Jase Excel Programming 1 November 17th 03 11:07 PM
Application Problem Stuart[_10_] Excel Programming 7 November 16th 03 05:44 PM
capture users Application.OnKey RB Smissaert Excel Programming 1 September 8th 03 02:49 PM


All times are GMT +1. The time now is 08:29 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"