| 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 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:

Computers are magnificent tools for the realization of our dreams, but no machine can replace the human spark of spirit, compassion, love, and understanding.
-Louis Gerstner

Inspired by Nina