If you need to name a range in a spreadsheet, you would normally highlight the cells and type a name in the name box on the top left corner. But what do I do if the range needs to be flexible?
In cell A1, the user specifies an integer, say 10. I want B1:B10 to be named "user specified range". If the user specifies a different integer in A1, say 5, then B1:B5 would be named "user specified range".
How do I write a sub to make this happen?
In cell A1, the user specifies an integer, say 10. I want B1:B10 to be named "user specified range". If the user specifies a different integer in A1, say 5, then B1:B5 would be named "user specified range".
How do I write a sub to make this happen?