+ Reply to Thread
Results 1 to 5 of 5

for and next loop with if statment

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Ontario, Canade
    MS-Off Ver
    Excel 2010
    Posts
    88

    for and next loop with if statment

    Hello,

    Here is my code:

    Please Login or Register  to view this content.
    Its pretty basic, but how do I adjust it to but the variable I, in after Z and the Row etc...


    Thanks

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: for and next loop with if statment

    Which column do you want to loop through? We know the rows are 20, but do not know which column.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: for and next loop with if statment

    Guess work

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-05-2012
    Location
    Ontario, Canade
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: for and next loop with if statment

    AB33 works great tthanks,

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: for and next loop with if statment

    Mike,
    You are welcome!

+ Reply to Thread

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