I have exported my query to excel. I need to format the rows based on a range of data. This range of data begins with the number 4 (it is a text string though). How can I find the first and last cell in a column that STARTS with the number 4 (as a text)?
I tried to use a .FIND but there are cells with a 4 in the string before the range that begins with a 4 and after that range ends.
any ideas?
thanks
I tried to use a .FIND but there are cells with a 4 in the string before the range that begins with a 4 and after that range ends.
Code:
Set rng = wsCOA.Range(.Cells(4, 1), .Cells(lngROW, 1))
intBUD1 = rng.Find(strBUD1).Row
any ideas?
thanks