Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
how i can write a macro to sort colume E sort from Ato z |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can do it w/o a macro using the menu Data | Sort. If you want a
macro, use the macro recorder. Merjet |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Or you can use the example in the VBA help files:
Sub SortRange() Worksheets("Sheet1").Range("E1").Sort _ Key1:=Worksheets("Sheet1").Columns("E"), _ Header:=xlGuess End Sub "bijan" wrote: Hi how i can write a macro to sort colume E sort from Ato z |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you
it worked but i want when Excle open it automaticaly run this macro . the name of my macro is Sort |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort Macro | Excel Discussion (Misc queries) | |||
Sort Macro | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Using Macro to sort without clicking on macro button | Excel Discussion (Misc queries) | |||
Sort Macro | Excel Discussion (Misc queries) |