Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default carrage return

can I format a cell so when the data is entered it does a carrage return and
moves down one row and back to the left to the first column?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default carrage return

This is called 'wrapping' and is done with ALT+ENTER
Sometimes (not often) you need to also use Format |Cells | Alignment and
check Warp Text
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"hary" wrote in message
...
can I format a cell so when the data is entered it does a carrage return
and
moves down one row and back to the left to the first column?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default carrage return

sorry but I did not achieve the results I was looking for. It only wraps
inside the cell.
it will not drop one row and return to the beginning.

"Bernard Liengme" wrote:

This is called 'wrapping' and is done with ALT+ENTER
Sometimes (not often) you need to also use Format |Cells | Alignment and
check Warp Text
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"hary" wrote in message
...
can I format a cell so when the data is entered it does a carrage return
and
moves down one row and back to the left to the first column?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default carrage return

You could type the first part of the entry, press down arrow, type the
second part
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"hary" wrote in message
...
sorry but I did not achieve the results I was looking for. It only wraps
inside the cell.
it will not drop one row and return to the beginning.

"Bernard Liengme" wrote:

This is called 'wrapping' and is done with ALT+ENTER
Sometimes (not often) you need to also use Format |Cells | Alignment and
check Warp Text
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"hary" wrote in message
...
can I format a cell so when the data is entered it does a carrage
return
and
moves down one row and back to the left to the first column?






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default carrage return

There is no format that can be set but it can be done under certain
conditions. In Tools/Options Edit select move cursor to right after Enter.
Then select the area that you want data to be entered so that it is
highlighted. Now as you type and hit Enter the cursor will move to the right
until it gets to the end of the selected area, then move to the beginning of
the next row in the selected area.

Mike F
"hary" wrote in message
...
can I format a cell so when the data is entered it does a carrage return
and
moves down one row and back to the left to the first column?





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default carrage return

Not sure what you mean about moving down one row and back to the left in first
column but.......................maybe this.

Start in A1 and type in data. Hit Tab key to go to B1, type in data and hit Tab
to go to C1, type in data and hit ENTER key to go back to column A one row down
to A2.

Make sure ENTER key "move selection after Enter" is set to "down"



Gord Dibben MS Excel MVP


On Mon, 10 Dec 2007 13:29:00 -0800, hary wrote:

can I format a cell so when the data is entered it does a carrage return and
moves down one row and back to the left to the first column?


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default carrage return

thank you for all the suggestions
but it seems what I am trying to pull off my not work
I have a bar code scanner, and each time I scan a bar it enters it into a cell
then moves one cell to the right. I have five columns, what I wanted it to do
was when it reached the fifth column and the data was entered was to start
over with the first column again.

"hary" wrote:

can I format a cell so when the data is entered it does a carrage return and
moves down one row and back to the left to the first column?

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default carrage return

In the class module for the sheet where you want this to happen, enter
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 6 Then Target.Offset(1, -5).Activate
End Sub

In conjunction with Options - Edit - Move selection after Enter -
Right,
this will allow you to enter in columns A through E.

Adjust Target.Column if you want some other set of 5 columns.

Carl.

On Dec 11, 9:31 am, hary wrote:
thank you for all the suggestions
but it seems what I am trying to pull off my not work
I have a bar code scanner, and each time I scan a bar it enters it into a cell
then moves one cell to the right. I have five columns, what I wanted it to do
was when it reached the fifth column and the data was entered was to start
over with the first column again.



"hary" wrote:
can I format a cell so when the data is entered it does a carrage return and
moves down one row and back to the left to the first column?- Hide quoted text -


- Show quoted text -

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
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
use concatenate function to put carrage returns in a text string dabblingandconfused Excel Worksheet Functions 4 August 15th 06 04:58 PM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM
VBA Syntax for VLOOKUP to return array of return values Alan Beban[_3_] Excel Programming 7 August 5th 03 11:41 AM


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