Hello everyone,
I am trying to create a custom sorting in VB. My sorting needs to be first on column B, then C and last on G. My data does not have headers.
How do I create such a custom sorting?
Thanks in advance?
Hello everyone,
I am trying to create a custom sorting in VB. My sorting needs to be first on column B, then C and last on G. My data does not have headers.
How do I create such a custom sorting?
Thanks in advance?
Last edited by sentinela; 01-11-2010 at 05:59 PM. Reason: Solved
Record a macro going through each of the subsequent sorting steps. Post the code and workbook for help on cleaning up the code.
Palmetto
Do you know . . . ?
You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.
Palmetto,
Thanks for the answer, here is the code recorded.
Thanks for the help!![]()
Please Login or Register to view this content.
Maybe like this:
If you create a dynamic named range for your data, you could avoid the hard-coded references:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
In conjunction with shg's suggestion to use a dynamic named range, see this link for help on the topic.
Thank you very much shg and palmetto.
I appreciate all your help!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks