+ Reply to Thread
Results 1 to 5 of 5

If Statment loop

  1. #1
    Registered User
    Join Date
    06-28-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    89

    If Statment loop

    I am trying to loop this If statement so it goes down all the rows and reads them. Like right now it is reading Q2 & R2. I want to loop it so next it will look at Q3 &R3 then output range (A3:AN3) and then with row 4, etc.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: If Statment loop

    Try:
    Please Login or Register  to view this content.
    or if you want all columnbs upto AN colored, then
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: If Statment loop

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  4. #4
    Registered User
    Join Date
    06-28-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    89

    Re: If Statment loop

    It worked thank you so much!

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: If Statment loop

    You're welcome. Glad we can offer some help
    Thanks a lot for the rep points

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] for and next loop with if statment
    By mike02 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2013, 05:04 PM
  2. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  3. Replies: 2
    Last Post: 06-06-2012, 10:59 PM
  4. [SOLVED] if then statment help
    By wannabe_guru in forum Excel General
    Replies: 1
    Last Post: 06-06-2012, 12:33 PM
  5. IF Statment Loop in VB
    By Philmillar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2011, 10:13 AM
  6. [SOLVED] IF statment within IF statment?
    By DaZombie in forum Excel General
    Replies: 2
    Last Post: 10-27-2010, 12:33 PM
  7. End a DO WHILE LOOP WITH INTERNAL IF STATMENT?
    By 77anders in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2009, 04:54 AM
  8. IF Statment
    By MIKE0W in forum Excel General
    Replies: 1
    Last Post: 03-23-2005, 08:52 PM

Tags for this Thread

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