M
Michel Peeters
I make listbox " lstBkm" as follows :
For I = 1 To .ActiveDocument.Bookmarks.Count
strBkName = .ActiveDocument.Bookmarks(I).Name
strBkTxt = .ActiveDocument.Bookmarks(I).Range.Text
intPos = .ActiveDocument.Bookmarks(I).Range.BookmarkID
Me.lstBkm.AddItem """" & strBkName & """;""" & strBkTxt &
""";""" & CStr(intPos) & """
Next I
How can I sort it ascending on on intPos?
tks
Michel P.
For I = 1 To .ActiveDocument.Bookmarks.Count
strBkName = .ActiveDocument.Bookmarks(I).Name
strBkTxt = .ActiveDocument.Bookmarks(I).Range.Text
intPos = .ActiveDocument.Bookmarks(I).Range.BookmarkID
Me.lstBkm.AddItem """" & strBkName & """;""" & strBkTxt &
""";""" & CStr(intPos) & """
Next I
How can I sort it ascending on on intPos?
tks
Michel P.