REMOVE SORT WARNING

G

Guest

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
 
D

Dave Peterson

I don't think you can disable it.
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
 
B

Bernie Deitrick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top