Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Trapping Data Input with Curser Keys or Entry Key

You might be able to make something of this.

Application.OnKey "{RETURN}", "NextRow" 'maybe run this on workbook open

Public Sub NextRow()
ActiveCell.Offset(1, -10).Select
End Sub

Bob

"Robert Cornwell" wrote in message
...
Hello,

In a worksheet change event macro I make use of
"target.offset(1, -10).select" i.e select new line for data input -

works
fine -
I would like to trap the entry of this data when using the enter key and
follow with the new line selection as above i.e so that the curser keys
work normally for data entry thus avoiding the new line selection.
The purpose being - auto select next cell or personal choice!

Is this possible? or alternative work round?

Any guidance would be appreciated.

Robert




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
trapping keys when pressed by user Mark Dubbelaar Excel Programming 0 September 10th 03 02:29 AM
trapping keys when pressed by user Mark Dubbelaar Excel Programming 0 September 10th 03 02:29 AM
trapping keys when pressed by user Mark Dubbelaar Excel Programming 0 September 10th 03 02:29 AM
trapping keys when pressed by user Mark Dubbelaar Excel Programming 0 September 10th 03 02:29 AM
trapping keys when pressed by user Mark Dubbelaar Excel Programming 0 September 10th 03 02:29 AM


All times are GMT +1. The time now is 10:58 PM.

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"