ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   REMOVE SORT WARNING (https://www.excelbanter.com/excel-worksheet-functions/102288-remove-sort-warning.html)

Sally in KC

REMOVE SORT WARNING
 
I do a lot of sorting using the ascending and decending automatic sort keys
in Excel. I do NOT need the warning and am tired of having to answer the
idiot question many times a day. Can anyone tell me how to disable this
warning question?

Thanks,
Sally in KC

Dave Peterson

REMOVE SORT WARNING
 
I don't think you can disable it.

Sally in KC wrote:

I do a lot of sorting using the ascending and decending automatic sort keys
in Excel. I do NOT need the warning and am tired of having to answer the
idiot question many times a day. Can anyone tell me how to disable this
warning question?

Thanks,
Sally in KC


--

Dave Peterson

Bernie Deitrick

REMOVE SORT WARNING
 
Sally,

You can use a macro assigned to a custom commandbar button instead of the automatic sort keys. For
example, to sort a table based on the activecell's column, you could use this:

Sub SortAscending()
ActiveCell.CurrentRegion.Sort _
Key1:=ActiveCell, _
Order1:=xlAscending, _
Header:=xlYes
End Sub

Of course, it would sort the entire block or table, and would use headers....

HTH,
Bernie
MS Excel MVP


"Sally in KC" <Sally in wrote in message
...
I do a lot of sorting using the ascending and decending automatic sort keys
in Excel. I do NOT need the warning and am tired of having to answer the
idiot question many times a day. Can anyone tell me how to disable this
warning question?

Thanks,
Sally in KC





All times are GMT +1. The time now is 11:08 AM.

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