Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default return to first column of next row

I am trying to make a worksheet with only seven columns. I configured excel
to move to the right after entering data into a cell. I need help creating an
auto return after the data is entered into the last column (G). Also, Is
there a way to have Excel display only the seven columns for the end-user? I
have looked for examples of code but I can not find what I need or make it
myself.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default return to first column of next row

Hide the other columns.

Unlock cells in the 7 columns then protect the worksheet.

Use Tab key to move across and down.

Or set the ENTER key to move right.

Without protection...................

Hide the unneeded columns.

Start in A1 and Tab your way across as you enter data.

When leaving column G hit the ENTER key to move back to column A one row down.




On Tue, 12 Feb 2008 11:56:02 -0800, DanO wrote:

I am trying to make a worksheet with only seven columns. I configured excel
to move to the right after entering data into a cell. I need help creating an
auto return after the data is entered into the last column (G). Also, Is
there a way to have Excel display only the seven columns for the end-user? I
have looked for examples of code but I can not find what I need or make it
myself.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default return to first column of next row

In addition to Gord's suggestion, how about some VBA code to simulate
a typewriter return?

This would go in the sheet module for the worksheet you are using.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Column = 8 Then ActiveCell.Offset(1, -7).Select
End Sub

See http://www.rondebruin.nl/code.htm if you need assistance
implementing.

HTH,
JP

On Feb 12, 2:56*pm, DanO wrote:
I am trying to make a worksheet with only seven columns. I configured excel
to move to the right after entering data into a cell. I need help creating an
auto return after the data is entered into the last column (G). Also, Is
there a way to have Excel display only the seven columns for the end-user? I
have looked for examples of code but I can not find what I need or make it
myself.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default return to first column of next row

Thanks for the code and link to help me get this working. It works prefect.

"JP" wrote:

In addition to Gord's suggestion, how about some VBA code to simulate
a typewriter return?

This would go in the sheet module for the worksheet you are using.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Column = 8 Then ActiveCell.Offset(1, -7).Select
End Sub

See http://www.rondebruin.nl/code.htm if you need assistance
implementing.

HTH,
JP

On Feb 12, 2:56 pm, DanO wrote:
I am trying to make a worksheet with only seven columns. I configured excel
to move to the right after entering data into a cell. I need help creating an
auto return after the data is entered into the last column (G). Also, Is
there a way to have Excel display only the seven columns for the end-user? I
have looked for examples of code but I can not find what I need or make it
myself.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default return to first column of next row

Glad to hear it!


--JP

On Feb 13, 2:48*pm, DanO wrote:
Thanks *for the code and link to help me get this working. It works prefect.



"JP" wrote:
In addition to Gord's suggestion, how about some VBA code to simulate
a typewriter return?


This would go in the sheet module for the worksheet you are using.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
* * If ActiveCell.Column = 8 Then ActiveCell.Offset(1, -7).Select
End Sub


Seehttp://www.rondebruin.nl/code.htmif you need assistance
implementing.


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
Return column number from column header text Roger[_3_] Excel Discussion (Misc queries) 4 February 14th 08 09:40 PM
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
Find max value in one column and return the value of corrosponding cell in different column [email protected] Excel Worksheet Functions 5 October 16th 07 12:33 PM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
URGENT -- search in string for a value in another column, if found, return value from next column samkshah Excel Programming 4 October 3rd 05 04:13 PM


All times are GMT +1. The time now is 11:08 AM.

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"