I've got an excel spreadsheet and I wanted to create a VB tool that will sort the spreadsheet automatically as compared to someone manually going to the "auto filter" feature to sort the information. Is the best method to record a macro and then use that in VB (I don't know how to reference a recorded macro in VB)...or would it be more efficient to code ALL of it (meaning the functions of an "auto filter") in the VB editor.
Primarily, there are 3 columns to sort by: group, individual(s), and priority. The group and priority columns only have one entry per cell, but the "individual(s)" column may have several names per cell (thus the "auto filter" is best used because you can customize it putting any part of a name to sort).
I wanted to use controls like a drop down box or a combo box to choose the group, individual(s), and priorities and then click on a button that will sort the data.
Does anyone have a couple minutes to help me with a resolution, hints, or code?
Thank you so much for your time! =)