Results 1 to 9 of 9

Thread: Updates to line number 1000 and then again from 1 to 1000 again

  1. #1
    Member
    Join Date
    Aug 2012
    Posts
    72
    Rep Power
    12

    Updates to line number 1000 and then again from 1 to 1000 again

    Hi.
    In a flap with teacher groups of values​​, each value is updated by internet.
    I have tabs with each group of values ​​needed when updating the master tab, tab group is added to this value, and when there is another update updates on the line below, up to 1000 lines would update this, then she would return to first line.

    When updates tab called "ATUALIZAÇÃO"
    line fills the time and date information from the internet
    when you get back to the line 1.ooo THE FIRST line

    See my fileOne Row to 1000 row.xlsx

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    marreco, not sure, but is this what you are looking for?
    Code:
    Sub DoAgain1000()
    
        Dim lng As Long
        
    StartOver:
        For lng = 1 To 1000
            If IsEmpty(Range("D7").Resize(1000).Cells(lng)) Then
                'fill that row with data
                Exit For
            End If
        Next lng
        If lng = 1001 Then
            Range("D7").Resize(1000, 4).ClearContents
            GoTo StartOver
        End If
        
    End Sub
    can't understand exactly what are you asking for. Can you be a little more clear please.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Member
    Join Date
    Aug 2012
    Posts
    72
    Rep Power
    12
    Hi.

    in the range of "D7: G2" spreadsheet "ATUALIZAÇÃO" is prenchido for data, then the interval "D7: G2" spreadsheet "data1" to be iqual interval "D7: G2" spreadsheet "0ATUALIZAÇÃO"

    If the data in the worksheet "ATUALIZAÇÃO" pass line 1000 then ...

    in the range of "D1001: G1001" worksheet "ATUALIZAÇÃO" is prenchido by data, then the range of "D7: G7" worksheet "data1" is the interval iqual "D1001: G1001" worksheet "ATUALIZAÇÃO"

    If the data in the worksheet "ATUALIZAÇÃO" pass line 2000 then ...
    in the range of "D2001: G2001" worksheet "ATUALIZAÇÃO" is prenchido by data, then the range of "D7: G7" worksheet "data1" is the interval iqual "D2001: G2001" worksheet "ATUALIZAÇÃO"

    ie the worksheet "data1" I'll have a range of 1000 lines.
    But I need to get the last 1000 lines filled in the worksheet "ATUALIZAÇÃO" because it acada minute worksheet "ATUALIZAÇÃO" is filled then it will contain many rows filled.
    Thank you!!

  4. #4
    Member littleiitin's Avatar
    Join Date
    Aug 2011
    Posts
    90
    Rep Power
    13
    What I understand, you want only last one thousand rows in your main sheet and complete data in Data1 sheet.

    Am I Correct?

    Thanks
    Rahul

  5. #5
    Member
    Join Date
    Aug 2012
    Posts
    72
    Rep Power
    12
    Hi

    yes!!!

    Thank you!!

  6. #6
    Member
    Join Date
    Aug 2012
    Posts
    72
    Rep Power
    12
    Hi.

    Anyone helpe please.

    thank you!!!

  7. #7
    Member Charles's Avatar
    Join Date
    Aug 2012
    Posts
    63
    Rep Power
    12
    HI,

    I'm looking at your project. But still confused as to what you want.
    Could you supply a more detailed info and expand the sample workbook you provided.
    That is show a short sample of the fist 1000 then where you want the next 1000.

  8. #8
    Member
    Join Date
    Aug 2012
    Posts
    72
    Rep Power
    12
    Hi.

    Yes!

  9. #9
    Member Charles's Avatar
    Join Date
    Aug 2012
    Posts
    63
    Rep Power
    12
    marreco,

    I'm still waiting for a better example of your request.
    Could you supply a more detailed info and expand the sample workbook you provided.
    That is show a short sample of the fist 1000 then where you want the next 1000.

Similar Threads

  1. Wrap Text On Spaces Up To A Maximum Number Of Characters Per Line
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 15
    Last Post: 12-20-2016, 09:47 AM
  2. Replies: 6
    Last Post: 06-01-2013, 03:24 PM
  3. Replies: 2
    Last Post: 12-04-2012, 06:09 PM
  4. Replies: 4
    Last Post: 05-14-2012, 11:58 AM
  5. Replies: 3
    Last Post: 05-14-2012, 11:30 AM

Posting Permissions

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