Welcome to Peter's Webplace Sign in | Join | Help

January 2007 - Posts

Sorting in Word (VSTO)

I am working on project which involves some text sorting in Word 2003. I am trying to sort the range of text ascending. VBA code for sorting looks like this: Selection.Sort ExcludeHeader:=False, FieldNumber:="Paragraphs", _ SortFieldType:=wdSortFieldAlphanumeric,
posted by peterj | 2 Comments
Filed Under: ,