I have written a bunch of VBA that works just fine. But the Like function is just messing with my mind. This is the relevant portion of my subroutine:
I have used Debug.Print to check that TempArray(0) and TempArray(1) are pulling "Hello " and " Goodbye" respectively, so I really don't know what I'm doing wrong.![]()
Please Login or Register to view this content.
The only thing that I'm not including in the above is that the SourceString is actually ThisWorkbook.Worksheets(1).Cells(1, 1).Value only with different numbers. I do a Debug.Print of that Value before I test to make sure I'm looking at the right information.
Bookmarks