Magnatolia
Board Regular
- Joined
- Jan 19, 2012
- Messages
- 81
- Office Version
- 365
- Platform
- Windows
Hi guys,
I'm doing some work on a really complex macro-enabled group of workbooks and the client wants to insert a couple of columns. The original creator of the macro has used static selections so I can get around columns by making each column a dynamic named range. However in some parts they specify for example H1 to the last row of data on A. Is there any way of having something like Range(rangename.column & "1" to rangename.column & "1000") so that way if the range in H is shifted one to the right the range selection will still work?
These spreadsheets are 30mb from all the macros and don't really want to keep manually hunting for all those small static selections every time a change needs to occur to the layout.
Thanks!
I'm doing some work on a really complex macro-enabled group of workbooks and the client wants to insert a couple of columns. The original creator of the macro has used static selections so I can get around columns by making each column a dynamic named range. However in some parts they specify for example H1 to the last row of data on A. Is there any way of having something like Range(rangename.column & "1" to rangename.column & "1000") so that way if the range in H is shifted one to the right the range selection will still work?
These spreadsheets are 30mb from all the macros and don't really want to keep manually hunting for all those small static selections every time a change needs to occur to the layout.
Thanks!