Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
I hope I can explain this well enough to allow someone to help.
I have defined variable 'rng_pdasrv' as a range. It represents a dynamic range "A22:Q32".
I simple wish to loop through each cell in column A within that range, ie A22:A32.
ie:
Incethe range is dynamic, I need to figure out how to code the paramters of the loop based on the dynamic values of the data in the range 'rng_pdasrv'
I have defined variable 'rng_pdasrv' as a range. It represents a dynamic range "A22:Q32".
I simple wish to loop through each cell in column A within that range, ie A22:A32.
ie:
Code:
For each cell in A22 to A32
If cell.value = "Name" then call sub5
Next cell
Incethe range is dynamic, I need to figure out how to code the paramters of the loop based on the dynamic values of the data in the range 'rng_pdasrv'