+ Reply to Thread
Results 1 to 3 of 3

Error when running for loops with if statements

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Tolland, CT
    MS-Off Ver
    Excel 2007
    Posts
    37

    Error when running for loops with if statements

    For some reason the code thinks there is no Next with the For loop. Clearly there is. Am I doing something else wrong here?

    All variables are defined above I just did not include them.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Error when running for loops with if statements

    The only error I can spot is there is no End With statement. If when you cut and pasted your code you just left it out, then I can't find a problem with what you have posted.

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    Tolland, CT
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Error when running for loops with if statements

    Oh oops it was an error before that code =P

+ 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