Captain_Conman
Board Regular
- Joined
- Jun 14, 2018
- Messages
- 54
Hi Everyone,
Instead of using "For each Cell in Range" I was wondering if there is a way of doing "For each Range in Range"
For example, in column A, I have a list of store numbers. It may appear one time, or it may appear multiples...
[TABLE="width: 133"]
<colgroup><col></colgroup><tbody>[TR]
[TD]STORE 1358[/TD]
[/TR]
[TR]
[TD]STORE 1358[/TD]
[/TR]
[TR]
[TD]STORE 1362[/TD]
[/TR]
[TR]
[TD]STORE 1389[/TD]
[/TR]
[TR]
[TD]STORE 1389[/TD]
[/TR]
[TR]
[TD]STORE 1411[/TD]
[/TR]
[TR]
[TD]STORE 1419[/TD]
[/TR]
[TR]
[TD]STORE 1419[/TD]
[/TR]
[TR]
[TD]STORE 1426[/TD]
[/TR]
[TR]
[TD]STORE 1427[/TD]
[/TR]
[TR]
[TD]STORE 1429[/TD]
[/TR]
[TR]
[TD]STORE 1433[/TD]
[/TR]
[TR]
[TD]STORE 1433[/TD]
[/TR]
[TR]
[TD]STORE 1434[/TD]
[/TR]
[TR]
[TD]STORE 1434[/TD]
[/TR]
[TR]
[TD]STORE 1435[/TD]
[/TR]
[TR]
[TD]STORE 1435[/TD]
[/TR]
[TR]
[TD]STORE 1446[/TD]
[/TR]
[TR]
[TD]STORE 1485[/TD]
[/TR]
[TR]
[TD]STORE 1509[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I would like to loop through column A, but instead of looking at each cell, is there a way to look at each group of cells (each store)? What code would look at the group of cells instead of just one at a time?
Instead of using "For each Cell in Range" I was wondering if there is a way of doing "For each Range in Range"
For example, in column A, I have a list of store numbers. It may appear one time, or it may appear multiples...
[TABLE="width: 133"]
<colgroup><col></colgroup><tbody>[TR]
[TD]STORE 1358[/TD]
[/TR]
[TR]
[TD]STORE 1358[/TD]
[/TR]
[TR]
[TD]STORE 1362[/TD]
[/TR]
[TR]
[TD]STORE 1389[/TD]
[/TR]
[TR]
[TD]STORE 1389[/TD]
[/TR]
[TR]
[TD]STORE 1411[/TD]
[/TR]
[TR]
[TD]STORE 1419[/TD]
[/TR]
[TR]
[TD]STORE 1419[/TD]
[/TR]
[TR]
[TD]STORE 1426[/TD]
[/TR]
[TR]
[TD]STORE 1427[/TD]
[/TR]
[TR]
[TD]STORE 1429[/TD]
[/TR]
[TR]
[TD]STORE 1433[/TD]
[/TR]
[TR]
[TD]STORE 1433[/TD]
[/TR]
[TR]
[TD]STORE 1434[/TD]
[/TR]
[TR]
[TD]STORE 1434[/TD]
[/TR]
[TR]
[TD]STORE 1435[/TD]
[/TR]
[TR]
[TD]STORE 1435[/TD]
[/TR]
[TR]
[TD]STORE 1446[/TD]
[/TR]
[TR]
[TD]STORE 1485[/TD]
[/TR]
[TR]
[TD]STORE 1509[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
[TR]
[TD]STORE 1513[/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I would like to loop through column A, but instead of looking at each cell, is there a way to look at each group of cells (each store)? What code would look at the group of cells instead of just one at a time?