Well you could use the same code and just use a UNC instead of a URL, you wouldn't use the saveRemoteFile function. Remember to escape backslashes if hardcoding the path, e.g a UNC of \\MyServer\MyShare\myFile.xls would be:
Code:
var FILE_UNC = "\\\\MyServer\\MyShare\\myFile.xls";
<snip/>
var oWB = oExcel.workbooks.open(FILE_UNC);
Most modern versions of Excel can cope with UNC syntax.
--
Joe (
Microsoft MVP - XML)