+ Reply to Thread
Results 1 to 2 of 2

Still Confused by Like Function in VBA

  1. #1
    Registered User
    Join Date
    05-02-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    35

    Still Confused by Like Function in VBA

    You guys previously offered me help with the Like function ([link]http://www.excelforum.com/showthread.php?t=1137823&p=4378134&highlight=#post4378134[/link]).

    Now, I'm trying to do a little more with it, and I'm apparently still confused...

    Please Login or Register  to view this content.
    The first test works, but the second doesn't. When stepping through, it does not execute the "then" portion of the If-then coding. I have printed the values stored in the TempArray, and they are correct.

    Any ideas why the second version of this test won't work?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Still Confused by Like Function in VBA

    When I test this, it takes the Then part in the second case, that is, it sets Found to True. What are you seeing that makes you think it's not?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Confused with IF and OR function
    By zlatan32 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2013, 02:52 AM
  2. Confused with AverageIf Function
    By CBJason in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-01-2013, 03:49 AM
  3. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  4. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 AM
  5. Excel Function/ Plot type Help? Please :confused:
    By lamboram in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2012, 01:02 PM
  6. I'm so confused with this SUMIF function!
    By sideffects in forum Excel General
    Replies: 9
    Last Post: 02-05-2012, 07:14 PM
  7. Confused on a function
    By daddioja in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2006, 03:50 PM
  8. confused by COLUMN worksheet function
    By KG in forum Excel General
    Replies: 3
    Last Post: 05-15-2005, 12:06 AM

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