Search code examples
c#ms-wordvstoms-office

How to programatically disable Word Start Screen


I need to disable Microsoft Word start screen programatically using C# in Visual Studio. I don't want to do it manually like this .

Anyone can help ?


Solution

  • I found a good workaround for it. It is simply to open a new blank document on startup

    private void ThisAddIn_Startup(object sender, System.EventArgs e)
    {
        if (Application.Documents.Count == 0)
        {
            Application.Documents.Add();
        }
    }