That code is also giving empty result on 'log.xls'

Actuelly all I need is to see the set of computer from a text file, if it is pinging (or not piging) write it down to an Excell file and save the file.

I am not an advance coder but may be average,

Tnx for your help guys...
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran