| Login

Search this Blog


Links I like to keep around


Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Nov22

Written by:R Teachout
11/22/2006 5:42 PM 

Found this code and wanted to bookmark it

Found this code on netnerds.com and wanted to bookmark it… she got it from VisualBasicScript.com’s Forums

Function fSortArray(aSortThisArray)
Dim oArrayList, iElement, oArrayDic
Set oArrayDic = CreateObject("Scripting.Dictionary")
Set oArrayList = CreateObject( "System.Collections.ArrayList" )
For iElement = 0 To UBound(aSortThisArray)
  oArrayList.Add aSortThisArray(iElement)
Next
oArrayList.Sort
set fSortArray = oArrayList
End Function

Tags:

To succeed in the world it is not enough to be stupid, you must also be well-mannered.
-Voltaire

Inspired by Nina