What script would I use to sort the entire worksheet for row 2 to the last used row, by column A, which has dates?
I want it sorted so that the oldest dates are first.
Thanks!
What script would I use to sort the entire worksheet for row 2 to the last used row, by column A, which has dates?
I want it sorted so that the oldest dates are first.
Thanks!
Have you tried recording a macro for this action?
You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
Practice makes perfect. I'm very far from perfect so I'm still practising.
No as I did not know hot to tell the macro to always go to the last row, it does not seem to be a recordable task.
Try:Note the variable for the last row.Please Login or Register to view this content.
Maybe:
Please Login or Register to view this content.
John, Wow...
What a simple code.
can you please suggest a code to sort entire sheet with 2 columns.
instead of only range a2 i need to sort first G2 and E2 at the same time. please
@ winmaxservices - I would be glad to help out. However you should start another thread. See rule No. 2 in the link below.
http://www.excelforum.com/forum-rule...rum-rules.html
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks