Quote:

I don't get why you are using Execute() and why you wrap vars in quotes.

$GroupName = $range[$counter,0]




Is there a right way of extracting excel information to be used on a function? I got the example straight from Joeel's readexcel2() function

Code:

;Example:
; ;read the default sheet (1) to the first empty field (with 3 columns).
; $range=readexcel2('C:\Documents and Settings\niemjo\Työpöytä\puhluett.xls',,-1,3)
; if @error
; "error occured: @serror (@error)"
; else
; for $counter=0 to ubound($range,2)
; ? "name: " $range[$counter,0]
; ? "phonenumber: " $range[0,1]
; ? "cellular: " $range[0,2]
; ?
; next
;




Edited by jvdejesus (2006-05-04 12:10 AM)