I have an issue with the cell range in formula and I don't know how to change it based on a predefined value in the spreadsheet. For example, from figure I have cells B8:B12=0
(5 cells), however, if I want to change range to range B10:B12=0
(3 cells) I should delete them from formula. How can I do the reference to a specific cell in a spreadsheet where I can simply change value 5 to 3 and it will change automatically, without interfering formula each time? I'm new to VBA, any help is appreciated.
0
votes
I would start by looking at the OFFSET worksheet function. INDIRECT might also come in handy.
– SJR
2 Answers
0
votes