Excel template is getting opened unncecssarily--- vb.net 2008
-
I have an excel template, from this template i copy the worksheet and save it to workbook. I initially created an excel.application instance
xlsApp1 = CreateObject("Excel.Application")
then , i open this template file
temp = xlsApp1.Workbooks.Open(ExsTemplate & "sheet.xls")
i am presently in debug mode and breakpoint is on the above line. and right after this i open an excel sheet by double clicking it which is lying in my hard drive. This opens the template file also. This is the problem. Can u tell me how should i avoid this problem.
-
I have an excel template, from this template i copy the worksheet and save it to workbook. I initially created an excel.application instance
xlsApp1 = CreateObject("Excel.Application")
then , i open this template file
temp = xlsApp1.Workbooks.Open(ExsTemplate & "sheet.xls")
i am presently in debug mode and breakpoint is on the above line. and right after this i open an excel sheet by double clicking it which is lying in my hard drive. This opens the template file also. This is the problem. Can u tell me how should i avoid this problem.