Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can you set up a "Return" key - like a typewriter?

I have over 3000 lines (rows) of data that I need to enter manually. There
are 14 columns associated with each line. When I complete the entry for one
line, I would like it to automatically jump to the first column of the next
line (like a "Return" key on a typewriter). How can this be accomplished?

Thanks!
Karen
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Can you set up a "Return" key - like a typewriter?

The following code will go to the next row as soon as a ceel in column 15 is
selected. If you are entering data manually, then after each entry you will
movw to the next cell to the right. So if you do the same thing on the 14 th
column the macro will select the first column on the next row. The macro goes
on the worksheet.

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

"KarenLZ" wrote:

I have over 3000 lines (rows) of data that I need to enter manually. There
are 14 columns associated with each line. When I complete the entry for one
line, I would like it to automatically jump to the first column of the next
line (like a "Return" key on a typewriter). How can this be accomplished?

Thanks!
Karen

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Can you set up a "Return" key - like a typewriter?

hi
why not enter a couple of line then use the built in form.
on the menu bar....dataform
no code needed.

Regards
FSt1

"KarenLZ" wrote:

I have over 3000 lines (rows) of data that I need to enter manually. There
are 14 columns associated with each line. When I complete the entry for one
line, I would like it to automatically jump to the first column of the next
line (like a "Return" key on a typewriter). How can this be accomplished?

Thanks!
Karen

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can you set up a "Return" key - like a typewriter?

Never knew the Form existed! Awesome! Thanks!
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
function to return day in the form "Monday", "Tuesday" etc given . MTro Excel Worksheet Functions 2 October 3rd 07 09:49 AM
Check if cells contain the word "Thailand", return "TRUE" ali Excel Worksheet Functions 7 September 14th 07 09:53 AM
If (A1 = "ValueA" & C1 = "ValueB") return the quantity of matches DaveC Excel Discussion (Misc queries) 2 July 1st 07 10:34 AM
Can I enter a "Y" and return "Yes" in the same cell? PART 2 rbbbbeee Excel Programming 2 August 16th 06 12:20 PM


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