Results 1 to 7 of 7

Do Until Cell IsEmpty

Threaded View

fa888 Do Until Cell IsEmpty 10-14-2010, 10:07 PM
rylo Re: Do Until Cell IsEmpty 10-14-2010, 10:13 PM
fa888 Re: Do Until Cell IsEmpty 10-14-2010, 10:42 PM
rylo Re: Do Until Cell IsEmpty 10-14-2010, 11:13 PM
fa888 Re: Do Until Cell IsEmpty 10-19-2010, 11:29 PM
SDruley Re: Do Until Cell IsEmpty 10-15-2010, 08:27 AM
fa888 Re: Do Until Cell IsEmpty 10-19-2010, 11:26 PM
  1. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Do Until Cell IsEmpty

    Hi

    Here's one way. It doesn't look for a blank cell, but processes all the data in column A, regardless.

    Sub aaa()
      For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row
        Range("E1").Resize(1, 2).Value = Cells(i, 1).Resize(1, 2).Value
    
      Next i
    End Sub
    Went back and looked at your earlier post and am not sure what you are trying achieve. Do you just want to output a list of all the pairings of the numbers from 1 to 45? As in 1,1; 1,2;...1,45; 2,3; 2,4; ...2,45; 3,4;...


    rylo
    Last edited by rylo; 10-14-2010 at 10:18 PM.

Thread Information

Users Browsing this Thread

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

Bookmarks

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