Hello,
I have encountered an issue when trying out the Range.Find() function in one of my workbooks: the function returns the very value I gave it instead of the cell where it found the value.
The above piece of vba code is what I have been trying to do (to get myself familiar with the Find function), but when running it I get the following error:
and when I click Debug, it highlights my row function (as can be seen in the first screenshots), and when I hover over the a_cell it shows me a_cell = "V0", which is the argument I gave it. Isn't the find function supposed to return the range in which it found the argument or Nothing if it doesnt find it?? How am I getting a string out of the Find function?
I have encountered an issue when trying out the Range.Find() function in one of my workbooks: the function returns the very value I gave it instead of the cell where it found the value.
The above piece of vba code is what I have been trying to do (to get myself familiar with the Find function), but when running it I get the following error:
and when I click Debug, it highlights my row function (as can be seen in the first screenshots), and when I hover over the a_cell it shows me a_cell = "V0", which is the argument I gave it. Isn't the find function supposed to return the range in which it found the argument or Nothing if it doesnt find it?? How am I getting a string out of the Find function?