Hi All,
I have a set of values in Column A of a worksheet named "Data".
Cell A1 has the value as "Description"
Cell A9 is blank
Cell A10 has the value as "Team Total"
The current active cell is D100
I would like to use the VBA "Cells.Find(What:="Description" statement to get to A1 from D100. Store the address of cell A1 in a variable named rng1. Then use the VBA "Cells.Find(What:="Team Total" statement to get to A10 from A1. Store the address of A10 in a variable called rng2. Next I would like to select the range A1 to A10 using a statement like =Range(rng1:rng2).
I have a set of values in Column A of a worksheet named "Data".
Cell A1 has the value as "Description"
Cell A9 is blank
Cell A10 has the value as "Team Total"
The current active cell is D100
I would like to use the VBA "Cells.Find(What:="Description" statement to get to A1 from D100. Store the address of cell A1 in a variable named rng1. Then use the VBA "Cells.Find(What:="Team Total" statement to get to A10 from A1. Store the address of A10 in a variable called rng2. Next I would like to select the range A1 to A10 using a statement like =Range(rng1:rng2).