Click here to Skip to main content
12,827,765 members (45,681 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB 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 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2017
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