+ Reply to Thread
Results 1 to 2 of 2

Need Code

  1. #1

    Need Code

    I need a Code or How to make it auto go to the next line down after 11
    numbers are entered. In MS Excel.

  2. #2
    Forum Contributor
    Join Date
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    do you mean to say that you enter data in cols 1 to 11 ( A to K ) and after entering the data in last col K you want the cursor to go to col A of next row?

    If this is what you want enter the following sub for the sheet.

    Private Sub Worksheet_Change(ByVal Target As Range)

    Tcol = Target.Column
    Trow = Target.Row
    If Tcol = 11 Then Cells(Trow + 1, 1).Select
    End Sub

    To access the code page for the sheet, right click sheet name tab and click view code.

    Last edited by avveerkar; 04-01-2006 at 01:19 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1