Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Feb 2004
    Location
    Findlay, Ohio, USA
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ForNext Loop (2000)

    Please see attached workbook which I think explains what I am trying to accomplish.
    Thank you.
    Attached Files Attached Files

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: ForNext Loop (2000)

    Try this:

    Sub GetBlindBogeyScores()
    Dim rs As Long
    Dim rt As Long
    rt = 1
    For rs = 1 To Range("A65536").End(xlUp).Row
    If Right(Range("B" & rs), 1) = "2" Then
    rt = rt + 1
    Range("A" & rs & ":B" & rs).Copy _
    Destination:=Range("E" & rt)
    End If
    Next rs
    End Sub

  3. #3
    New Lounger
    Join Date
    Feb 2004
    Location
    Findlay, Ohio, USA
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ForNext Loop (2000)

    Hans,
    This macro works fine, with a few modifications to suit my particular situation.
    I thank you very much.

Posting Permissions

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