Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
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 5-Feb-13 0:17am
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
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?

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

  Print Answers RSS
0 DamithSL 370
1 Maciej Los 217
2 OriginalGriff 213
3 BillWoodruff 135
4 Zoltán Zörgő 85
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,454
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539

Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2014
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