Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

network access problem

Status
Not open for further replies.

anyideas

Programmer
May 2, 2002
127
GB
Hello,

I'm opening an excel file on my local machine using a unc address as below:

Set objExcel = objExcelApp.Workbooks.Open("\\x1032NT4\c$\devImplem\welcomeLetter\wordFormat\DataFiles\" & datafile)

However, if I specify I different network machine on the LAN it falls over with an error.

Does anyone know how to open the file and specify the remote machine username and password for an nt box?

Cheers in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top