Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I open the Sort dialog box using VBA?
Excel 2000. Thanks Pete |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
You can sort from Vb without using the dialog box, perhaps it would be best if you explained what you are trying to sort. Mike "PM" wrote: How do I open the Sort dialog box using VBA? Excel 2000. Thanks Pete |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub aSortedAffair()
SendKeys "%d" SendKeys "~" DoEvents End Sub May not work for 2007 -- Gary''s Student - gsnu200777 "PM" wrote: How do I open the Sort dialog box using VBA? Excel 2000. Thanks Pete |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
If you really must display the dialog then application.Dialogs(xlDialogSort).Show Cheers Andy -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info "PM" wrote in message ... How do I open the Sort dialog box using VBA? Excel 2000. Thanks Pete |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "PM" wrote in message ... How do I open the Sort dialog box using VBA? Excel 2000. Thanks for all the replies. I want the user to be able to sort a large named area where many cells are blank. Simply opening the Sort dialog box does not always select the correct region due to the blank areas, so the macro selects the named area first. I went with Andy's suggestion in the end. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding more sort fields to the SORT Dialog Box | Excel Discussion (Misc queries) | |||
Retaining Sort order in the Sort Dialog box | Excel Discussion (Misc queries) | |||
Excel Open Dialog Improper Sort | Excel Discussion (Misc queries) | |||
Second window open as a sort of dialog | Excel Programming | |||
control of dialog macro dialog box. on open | Excel Programming |