![]() |
Trapping Data Input with Curser Keys or Entry Key
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 |
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 |
All times are GMT +1. The time now is 06:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com