I don't do anything with excel, but i did notice in your script that you check

$oXL.cells($Row,1).value = ''

but you assign $b (which i'm assuming is the computer name) without the value property

$b=$oXL.cells($Row,1)

I'm not sure if that's a problem or not.
_________________________
Eric