Hello All, I am having problems on how to sort data alphabetically by means of excel code that will just let the user press the button and sort the data automatically.
I need to sort the data Alphabetically by Last Name. Problem is, I can only sort the whole column of the Last Name itself. I can't sort the adjacent columns with the Last Name column. Thats why whenever I sort it, only the last Name column moves, the others don't.
Also, the number of people in the excel worksheet may also vary. Therefore I need to adjust my program based on the number of people listed in the Excel Sheet.
I could record the macro, but that doesn't solve my range problem.
How can I adjust the Range and sort them alphabetically? Here is the attached excel workbook for my project.
Any help is greatly appreciated. Thank you ;D
Bookmarks