Hi,
I had a problem with my program for opening an excel file through the use of PIA. here below is my sample code; any suggestions?
path = @"C:\\Test Template.xls";
wb = objExcel.Workbooks.Open(path, Missing.Value, Missing.Value , Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
after i execute this code the program returns an error meesage "Cannot access Test Template.xls". Can someone explain the cause of this error, i'm confused..