Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your code ran fine for me. (even as the click event of a commandbutton on
another sheet). -- Regards, Tom Ogilvy -- Regards, Tom Ogilvy "badazizi" wrote in message ... Why do I get a compile error 'Expected: =" when I try to call the following procedure I created? Private Sub SortPricingDataRange() Dim myRange As Range Set myRange = Worksheets("Sheet3").Range("A1:E6") myRange.Sort _ Key1:=Worksheets("Sheet3").Range("A1"), _ Key2:=Worksheets("Sheet3").Range("B1"), _ Key3:=Worksheets("Sheet3").Range("C1"), _ Header:=xlYes End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with Sort Method | Excel Programming | |||
sort method | Excel Programming | |||
Using the Sort Method | Excel Programming | |||
Sort Method | Excel Programming | |||
sort method frustration | Excel Programming |