Thread: Syntex Error ??
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Peter Rooney
 
Posts: n/a
Default Syntex Error ??

Paul,

You haven't got a space and an underscore character at the end of the first
line... I think!

regards

Pete



"Paul Cooke" wrote:


Would someone mind heaving a look at this segment of code and letting me
know if they can see whats wrong with it please.

Many thanks


Paul


'Sort by ID number
Range("A1").CurrentRegion.Sort Key1:=Range("F2"), Order1:=xlAscending,
Header:=xlYes, _
Orientation:=xlTopToBottom


--
Paul Cooke
------------------------------------------------------------------------
Paul Cooke's Profile: http://www.excelforum.com/member.php...o&userid=29268
View this thread: http://www.excelforum.com/showthread...hreadid=491797