+ Reply to Thread
Results 1 to 3 of 3

Resolved >>>For Loop not finishing.

  1. #1
    Registered User
    Join Date
    10-18-2007
    Posts
    9

    Resolved >>>For Loop not finishing.

    Hello,

    I have the following code. I am trying to conditional format a row based on the value of the A column of the row.I have a total of 3 rows.

    I have to use VBA because in time I may have 4 rows of data

    The problem is I after the first do while loop the code stops and the code doesn't proceed to format row 2.


    Can anybody help.I have also attached the excel sheet

    Thanks

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    the reseaon is that the activecell keeps moving accros the first row as you carry out the formating and so does not get back to the column A do do the subsequent evaluations

    try the following

    Please Login or Register  to view this content.
    Does that work

    Regards

    Dav

  3. #3
    Registered User
    Join Date
    10-18-2007
    Posts
    9
    Thanks
    Problem solved once variable declared

+ 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