I wrote this snippet of VBA code:
Aim: is to find the value "Weather" in the CurrentRegion around "A1", and if cell offset(0,1) to the "weather" cell address is empty, variable w is "No"; otherwise, variable w is "yes", and pop message box as described in the code.![]()
Please Login or Register to view this content.
Issue: Code is finding value "Weather" in cell $H$13 (active cell with green frame) where apparently there is no such value, nor even hidden. (please see screenshot below with message box with: activecell address ($H$13), offset cell value (" ") and value to be found ("Weather"))error.png
Question: Why is the function Find working like this? And how to correct that?
Thank you very much in advance.
Tiago
Bookmarks