+ Reply to Thread
Results 1 to 2 of 2

Initial If of If ElseIf statement not triggering

Hybrid View

  1. #1
    Registered User
    Join Date
    04-10-2009
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    39

    Initial If of If ElseIf statement not triggering

    Hi,

    I have a For Next loop checking for conditions within cells using an If ElseIf statement.

    For some reason, the initial If condition, though the variables being tested are correct as I check it in break mode, will not trigger the execution of the next statements.

    I checked all my data types etc & as I said, the variables' values are correct.

    Does anyone have an idea why the following statements would not be executed?

    any help is appreciated.

    thanks =)

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Initial If of If ElseIf statement not triggering

    Perhaps post the code with some sample data so that people can review.

    (presumably you've checked for Errors with Resume Next Handlers etc...)

+ 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