Hello All,
I am having a weird error with "Instr". I have used it many times over, but never used it comparing two arrays against each other. Here is the deal. The two arrays listed below are both string arrays which have been trimmed, and upper cased. What is happening is when I set a breakpoint "LPosition" is never getting set....it is always 0 when in multiple cases it should be otherwise. When I find a case where it is a match I hover over "LPosition" and it is 0, but when I hover over InStr itself it shows that it indeed is working and matched at 1. When I try one that doesn't match I hover over InStr and it shows 0. The problem I am facing is why isn't it passing to the integer value. Any help would be appreciated. Thanks.
Bookmarks