+ Reply to Thread
Results 1 to 4 of 4

If LCase(Target.Value) = "cancelled" not working Excel 2003

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    If LCase(Target.Value) = "cancelled" not working Excel 2003

    I don't get why it is not working anymore and I was working on this yesterday.

    I have a code that when a user selects an option from the drop down menu (Depending on the selection) it will do a function.

    Two of them are working but now one is doing nothing.

    Code:

    Please Login or Register  to view this content.
    What am I doing wrong here...

    If I should post my workbook please let me know. I will add the instructions.

    Note: my workbook was in .xls but changed it to .xlsm but I don't think that is the issue as the rest of my codes are working.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,629

    Re: If LCase(Target.Value) = "cancelled" not working Excel 2003

    You should post the workbook. You posted code with four block IF statements, but only one End If. Also, you have two If LCase(Target.Value) = "cancelled" Then lines. Explain what "not working means".
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: If LCase(Target.Value) = "cancelled" not working Excel 2003

    Copy of Draftrfp.xlsm

    Here is my attachment. You will need to go on the Evaluation Tab and on column D to make your selection.

    If you select "cancelled" it will do nothing.
    If you select "yes" or "retender" it will do it's function.

    I have the same code in the "MERX" sheet and there it is working fine.

    but it looks like in this one it doesn't.

    "Test" is already inserted in Column A Row 5. If it disappears you only have to insert “Test” in the same Col. Row. and also add it in column A of the “Report” sheet.

  4. #4
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: If LCase(Target.Value) = "cancelled" not working Excel 2003

    I re-arranged my End If and it's working...

+ 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