Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() You can use the dialog method shown below Range("a2:d971").Select Set Sortdialog = Application.Dialogs(xlDialogSort) With Sortdialog .Show End With End Sub The dialog has these options 'xlDialogSort orientation, key1, order1, _ 'key2, order2, key3, order3, header, custom, case So you can specify these arguments like this Range("a2:d971").Select Set Sortdialog = Application.Dialogs(xlDialogSort) With Sortdialog .Show arg1:=xlAscending, arg2:="$A:$A" End With End Sub -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=166926 Microsoft Office Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Making a drop down control to choose a data series | Charts and Charting in Excel | |||
how to sort the data in drop down list | Excel Discussion (Misc queries) | |||
Sort data / items of drop down list | Excel Programming | |||
sort data / items in drop down list | Excel Programming | |||
Making data validation drop down list wider | Excel Discussion (Misc queries) |