PC Review


Reply
 
 
Sanjiv
Guest
Posts: n/a
 
      30th Aug 2008
Hello,

I want to enter, say 2 char in a cell and then want to jump to the next cell
on the right without having to press enter key. Possible ?

thnx.
Sanjiv.
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      30th Aug 2008
Not possible.

Excel has no way of knowing when you are finished editing that cell until
you indicate by moving out of that cell.

VBA code will not run while in Edit mode.


Gord Dibben MS Excel MVP

On Sat, 30 Aug 2008 05:43:01 -0700, Sanjiv
<(E-Mail Removed)> wrote:

>Hello,
>
>I want to enter, say 2 char in a cell and then want to jump to the next cell
>on the right without having to press enter key. Possible ?
>
>thnx.
>Sanjiv.


 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      30th Aug 2008
Put the following macros in a standard module:

Sub onn()
Application.OnKey "2", "MyMacro"
End Sub

Sub offf()
Application.OnKey "2"
End Sub

Sub MyMacro()
ActiveCell.Value = 2
ActiveCell.Offset(0, 1).Select
End Sub

First run onn. From then on, if you touch the 2 key, a 2 will be entered in
the active cell and selection will move one cell to the right.

To cancel, run offf.
--
Gary''s Student - gsnu200802


"Sanjiv" wrote:

> Hello,
>
> I want to enter, say 2 char in a cell and then want to jump to the next cell
> on the right without having to press enter key. Possible ?
>
> thnx.
> Sanjiv.

 
Reply With Quote
 
Charabeuh
Guest
Posts: n/a
 
      2nd Sep 2008
Hi

With VBA,
see there : http://cjoint.com/?jcndDvOSuN

Bye


"Sanjiv" <(E-Mail Removed)> a écrit dans le message de
news:CE8028F6-FF66-41FF-A7EC-(E-Mail Removed)...
> Hello,
>
> I want to enter, say 2 char in a cell and then want to jump to the next
> cell
> on the right without having to press enter key. Possible ?
>
> thnx.
> Sanjiv.


 
Reply With Quote
 
Spiky
Guest
Posts: n/a
 
      2nd Sep 2008
Well, of course it's possible.

Press the Tab key.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define blank cell? Eric Microsoft Excel Misc 4 30th Apr 2010 01:37 PM
Define cell as a condition Alexandra Lopes Microsoft Excel Worksheet Functions 4 25th Jan 2010 05:02 PM
Reference/define last cell AG Microsoft Excel Programming 4 17th Jul 2008 03:41 PM
Define a gridline in a cell =?Utf-8?B?TGlsaWFu?= Microsoft Word Document Management 2 21st Jun 2006 09:17 AM
define a cell with the value of anothe cell =?Utf-8?B?VG9kZCBEdW5jb21iZQ==?= Microsoft Excel New Users 1 3rd Jan 2006 12:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:57 PM.