jross20
New Member
- Joined
- Apr 8, 2016
- Messages
- 17
- Office Version
- 365
- 2021
- 2019
- Platform
- Windows
After doing some googling I'm not sure if the way I am wording this is correct or not... basically I have a sheet in which I'd like to run a sub on... but I'd like to have it auto set the range based on some logic like (if cell such and such is not blank, include in range). Seems like when I think "dynamically" this is not what others are thinking.
i.e. Instead of a sub that runs on say A1:A1000, I'd like to be able to dynamically change the Range value (A1:A1000) based on whether or not the cells are filled. So, if only A1 through A6 are filled, run the sub on A:1:A6. I was hoping this might increase performance to only run the heavier function on fewer cells.
i.e. Instead of a sub that runs on say A1:A1000, I'd like to be able to dynamically change the Range value (A1:A1000) based on whether or not the cells are filled. So, if only A1 through A6 are filled, run the sub on A:1:A6. I was hoping this might increase performance to only run the heavier function on fewer cells.