ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sorting range automatically (https://www.excelbanter.com/excel-discussion-misc-queries/193277-sorting-range-automatically.html)

lela2a

sorting range automatically
 
This is more a question of amazement rather than needing help. I downloaded
an Excel sheet (populated from a database) from an internal server at work.
Somehow, it is set up so that you don't have to select a range in order to
sort a column - it does it for you (if someone hadn't been instructing me
step-by-step I never would've stumbled upon it). How does that happen and
how can I set up all my worksheets/books to behave that way? I looked for a
macro but there are none...
Thanks!

Bob Umlas, Excel MVP

sorting range automatically
 
It's the nature of the beast - yuo can select just one cell and excel knows
you mean the entire range of contiguous cells around the active cell. This is
called the Current Region and can be found by Ctrl/* or ctrl/A, but you don't
need to actually select the current region to sort - excel will always sort
the current region by the active cell unless there's more than one cell
selected, in which case it will sort that selection by the column of the
active cell.
HTH

"lela2a" wrote:

This is more a question of amazement rather than needing help. I downloaded
an Excel sheet (populated from a database) from an internal server at work.
Somehow, it is set up so that you don't have to select a range in order to
sort a column - it does it for you (if someone hadn't been instructing me
step-by-step I never would've stumbled upon it). How does that happen and
how can I set up all my worksheets/books to behave that way? I looked for a
macro but there are none...
Thanks!



All times are GMT +1. The time now is 05:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com