Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
HI
I am creating excel files
using Interop
and saving them in a Particular Folder.
 
But my problem is that When I am Opening the created
Excel File by double clicking ,
a new empty Workbook Book1 is also getting opened.
 
what is the Problem am not able to understand.
Please assist in solving this Issue.
Posted 4-Feb-13 23:17pm
Comments
CHill60 at 5-Feb-13 7:03am
   
Check the contents of folder c:\documents and settings\YourUsername\application data\microsoft\excel\XLSTART - it needs to be empty.
Also check that Excel has been properly closed by your program
Karwa_Vivek at 5-Feb-13 8:38am
   
I have checked that folder and is empty.
Also I have closed the excel in program .
But the Issue is not solved.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Without seeing your code that creates the workbook object, it's impossible to tell you what's going on. Also, which version of Excel are you writing a file for?
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 405
1 Sergey Alexandrovich Kryukov 220
2 Maciej Los 195
3 Peter Leow 190
4 DamithSL 174


Advertise | Privacy | Mobile
Web03 | 2.8.140705.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid