View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default How to soft a selected range of data in Excel by using VB.Net

Type Optional Variant. Specifies which elements are to be sorted. Can be
one of the following XlSortType constants: xlSortLabels or xlSortValues. Use
this argument only when sorting PivotTable reports.



Since you are not using named arguments you would at least need to use two
commas



Sort(key1,order1,,key2,order2, etc



--

Regards,

Tom Ogilvy

"Az Chan " wrote in message
...
Thanks for you replying for me, What should I put in that missed *Type*
Variable.


---
Message posted from http://www.ExcelForum.com/