Click here to Skip to main content
11,576,993 members (57,279 online)
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 DamithSL 155
1 Sergey Alexandrovich Kryukov 131
2 OriginalGriff 115
3 Afzaal Ahmad Zeeshan 95
4 Abhinav S 90
0 OriginalGriff 820
1 Sergey Alexandrovich Kryukov 631
2 Abhinav S 528
3 F-ES Sitecore 420
4 Suvendu Shekhar Giri 365


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100