I'm not sure if what I'm trying to do is possible, but I would like to be able to create a range in vba for multiple groups of cells that is dynamic (the range will change if I add or remove rows). Currently, I have header rows with dependent rows beneath them (I can add/remove these dependent content rows). In a column to the right in each header row, I have a formula to return the range of cells within these dependent rows (e.g. K20:K31, K33:K40, K42:K99, K101:K105, K107:K116, K118:K131). I also have a cell where I concatenate all these individual ranges (K20:K31,K33:K40,K42:K99,K101:K105,K107:K116,K118:K131).
What I'd like to do is create a code where I can set these values as a range (end-result being that I clear the contents of these cells if criteria are met. I'm using the following code with no success:
OTA Checklist!B16 is the cell that has the concatenated ranges.![]()
Please Login or Register to view this content.
Bookmarks