I have a table with data in it that has headers and a total line at the bottom. I want to create a formula with macros that uses data from the current row and the last row. I want to copy that formula to every cell in my column except the last row (because it's the total line). Then I want to sort my data with the values created by the formula. I've tried a bunch of different things and looked at a lot of online help guides without any success.
One more thing. I need this macro to be able to work with excel spreadsheets of varying length. Sometimes there are only 50 or so rows and sometimes there are over 70. The columns are always the same. Thanks for your help.
One more thing. I need this macro to be able to work with excel spreadsheets of varying length. Sometimes there are only 50 or so rows and sometimes there are over 70. The columns are always the same. Thanks for your help.