

Reset the properties for any pre-existing controls manually. If you create a new Office project based on a document from an existing project, the properties for any controls that are on the document aren't copied into the new project. Issue 2: Control properties are lost when you create a new project based on a document from an existing project Make sure that all other instances of Excel or Word are closed. If you're trying to create a document-level project, it's possible that another document with the same name as the document in the new project is already open in Excel or Word. If an error occurs when you try to create or open an Office project, but Visual Studio doesn't have enough information to determine the cause, try closing your project, exiting Visual Studio, and starting again.

You might encounter the following issues when you create or open Office projects. This article introduces how to troubleshoot issues that you may encounter when you perform different tasks while developing Office solutions in Visual Studio。 Issues when you create, upgrade, and open projects
