Filip, > Ironically, the solution is JScript. If you add this function to your code, > you can call it from your VBScript code as UDim(YourArray). Excellent! It hadn't occurred to me to even check my JScript reference. Thanks a million. James Aylard