koolsamule
Programmer
Hi Chaps,
I have an ActiveX Javascript function, that pulls data from an HTML table and then populates an Excel Workbook.
This works OK, but I need to save the workbook to a network path.
I have sucessfully saved it locally:
But this does not:
When attempting this, I get this error:
I have tried different variations, but with little sucess (sometimes the path will default to the Server's 'My Documents'/'User Shared' folder, with the filename:
Anyone know where I'm going wrong?
I have an ActiveX Javascript function, that pulls data from an HTML table and then populates an Excel Workbook.
This works OK, but I need to save the workbook to a network path.
I have sucessfully saved it locally:
Code:
// Save the Excel Workbook
xlBook.SaveAs("C:\\TEST.XLSX");
But this does not:
Code:
// Save the Excel Workbook
xlBook.SaveAs("\\\Server\\Projects\\TEST.XLSX");
Which refers to the above.SaveAs method of Workbook class failed
I have tried different variations, but with little sucess (sometimes the path will default to the Server's 'My Documents'/'User Shared' folder, with the filename:
ServerProjectsTEST.XLSX
Anyone know where I'm going wrong?