oops sorry, that's a typo. Here's what I have so far:
Code:

$range=readexcel2('C:\test.xls',,-1,4,1,1)
if @error
"error occured: @serror (@error)"
else
for $counter=1 to ubound($range)
$GroupName = Execute( '$range[$counter,0]' )
$ShareName = Execute( '$range[$counter,1]' )
$SharePath = Execute( '$range[$counter,2]' )
$Comment = Execute( '$range[$counter,3]' )
if fngroupAD("$GroupName")
AddToMyNetworkPlaces('$ShareName','$SharePath','$Comment')
endif
next



Basically, I'm trying to figure out how to properly translate the $GroupName, $ShareName, etc. so that the functions (addmynetworkplaces and fngroupAD) can properly get the information from the excel file. Hope this is clear enough. Thanks.

Jimmy


Edited by jvdejesus (2006-05-03 09:10 PM)