Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I've been working on a macro to resort an alphanumeric list to avoid:
A1 A10 A2 to rather result in: A1 A2 A10 I have a macro that inserts a leading zero, then I manually sort, then another macro removes the zero. I'd like to combine them into a single subroutine, but I don't know how to sort the currently selected range. Can anyone help? Thank you. Sprinks |
#2
![]() |
|||
|
|||
![]()
Selection.Sort ...
-- HTH RP (remove nothere from the email address if mailing direct) "Sprinks" wrote in message ... I've been working on a macro to resort an alphanumeric list to avoid: A1 A10 A2 to rather result in: A1 A2 A10 I have a macro that inserts a leading zero, then I manually sort, then another macro removes the zero. I'd like to combine them into a single subroutine, but I don't know how to sort the currently selected range. Can anyone help? Thank you. Sprinks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using a MACRO to sort data | Excel Worksheet Functions | |||
Using a macro to sort your data in alphabetical order? | Excel Discussion (Misc queries) | |||
Using Macro to Sort Names, Numbers & addresses | Excel Worksheet Functions | |||
Date macro | Excel Discussion (Misc queries) | |||
Macro to sort by cell colour | Excel Worksheet Functions |