#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default define cell

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default define cell

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
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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default define cell

Well, of course it's possible.

Press the Tab key.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default define cell

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.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default define cell

Hi

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

Bye


"Sanjiv" a écrit dans le message de
...
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
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
Cannot define cell name from menu kufdam Setting up and Configuration of Excel 0 January 9th 07 03:32 PM
Is it possible to use a cell reference to define the database? PerplexedinKY Excel Worksheet Functions 3 November 14th 06 09:00 PM
define one cell location throughout workbook? New_to_accounting Excel Worksheet Functions 3 September 2nd 06 12:36 AM
Define Name in active cell Danny Excel Worksheet Functions 0 October 13th 05 06:20 PM
how to define a cell to where i can link to it. daneyb Excel Discussion (Misc queries) 6 March 13th 05 07:27 PM


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