Dynamic

Hi,
The range is not fixed it can g1:u100 or u200.
So i want make it dynamic.