| |
ebgreen
Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
|
To load values into an array, you need to access each individual element of the array. To use your psuedo code: Do while readExecl.sheet(intRow , 1) i = 0 if cell <> "" then Loop through each cell of interest wsciprt.echo X myArray(i) = X i = i+1 Loop end if intRow = intRow + 1 Loop wscript.echo myArray(5)
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|