Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, in the past I used an earlier version of Excel and this macro worked fine: Sub alpha_sort() ' ' alpha_sort Macro ' Macro recorded 1/21/2005 by Admin ' ' Keyboard Shortcut: Ctrl+k ' Range("D2:CI250").Select Selection.Sort Key1:=Range("D2"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortNormal End Sub But now when I try and run it, it comes up with this error: Run-Time Error: '1004': Application-defined or object-defined error Does anyone know what is going wrong here? Thanks for any help, ~Oni. -- OniLink ------------------------------------------------------------------------ OniLink's Profile: http://www.excelforum.com/member.php...o&userid=19935 View this thread: http://www.excelforum.com/showthread...hreadid=518560 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Sort error | Excel Discussion (Misc queries) | |||
Sort Error | Excel Programming |