Quantcast
Channel: Active questions tagged row - Stack Overflow
Viewing all articles
Browse latest Browse all 495

How to find a value and get the row number in VBA

$
0
0

I'm trying to get the row which contains a specific value.

For example, I've an ID for a client. I want to modify or remove the info of that client on the table.
I'm trying to get the number of the row where that ID is located and change the cells of that "value" but I can't reach that number.

This returns nothing

valor_buscado = Me.Codigo_txt
Set Fila = Sheets("Clientes").Range("A:A").Find(valor_buscado , lookat:=xlWhole)

Viewing all articles
Browse latest Browse all 495

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>