Zach
Member
Good evening,
I am trying to clean up a macro that I recorded with the recorder. Its basic function of the macro is to filter all the data labeled to Phoenix (Column B), paste it on a new tab and then sort and subtotal by column G. I've gotten the majority of that accomplished, but I tried adding some extra tasks in the macro and I'm not sure how to clean it up.
1. I'd like to carry over only Columns A through K, not L.
2. I want the file to automatically create borders based on where the data is and not the range I set it at. I'm just unaware of how to write that.
3. I don't think it's possible but if it is I'd love to learn how to format the subtotal cells a certain shade. And basically highlight any number that is greater than 500 or less than (500), but not include the shaded subtotal cells.
I'm attaching my file I have so far (11-2 to 11-8) and I will attach a finished product that I manually adjust on a weekly basis(10-26 to 11-1). Any help would be greatly appreciated.
I am trying to clean up a macro that I recorded with the recorder. Its basic function of the macro is to filter all the data labeled to Phoenix (Column B), paste it on a new tab and then sort and subtotal by column G. I've gotten the majority of that accomplished, but I tried adding some extra tasks in the macro and I'm not sure how to clean it up.
1. I'd like to carry over only Columns A through K, not L.
2. I want the file to automatically create borders based on where the data is and not the range I set it at. I'm just unaware of how to write that.
3. I don't think it's possible but if it is I'd love to learn how to format the subtotal cells a certain shade. And basically highlight any number that is greater than 500 or less than (500), but not include the shaded subtotal cells.
I'm attaching my file I have so far (11-2 to 11-8) and I will attach a finished product that I manually adjust on a weekly basis(10-26 to 11-1). Any help would be greatly appreciated.