Craig13_13
New Member
- Joined
- Apr 9, 2009
- Messages
- 21
Hello all
I'm trying to write a Macro for the following:
I have a list of suppliers in column A and each month a score is generated for that supplier and the data put in columns, i.e. B has january score, C has february score etc.
I want the macro to arrange the suppliers in order of the last entered score, for example if there is data up until the march column i want it to arrange them by that score.
So far I can get it to find the last column with data in, I can get it to highlight that one but the bit I'm struggling with is "dynamic selection" if you like, I can get it to highlight the final column, but not the final column plus all the previous ones.
All suppliers are given a score at once so there will never be a blank cell in a column as such - it's all or nothing!
Any help would be much appreciated.
I'm trying to write a Macro for the following:
I have a list of suppliers in column A and each month a score is generated for that supplier and the data put in columns, i.e. B has january score, C has february score etc.
I want the macro to arrange the suppliers in order of the last entered score, for example if there is data up until the march column i want it to arrange them by that score.
So far I can get it to find the last column with data in, I can get it to highlight that one but the bit I'm struggling with is "dynamic selection" if you like, I can get it to highlight the final column, but not the final column plus all the previous ones.
All suppliers are given a score at once so there will never be a blank cell in a column as such - it's all or nothing!
Any help would be much appreciated.