we have created a VSTO Excel workbook with VS2010, .NET 4.0. After we publish and install the xlsx document, it opens up as expected for the first time. Then we run some operation using the plug-in and save the workbook. After closing and reopening it again, the Excel frame opens full screen but the workbook opens in a small window that can not be re-sized.
We have tried the following code on the following workbook events : Activate, Startup, Open
Application.WindowState = XlWindowState.xlMaximized;
Application.ActiveWindow.WindowState = XlWindowState.xlMaximized;
Same result, the workbook opens in a small window that is not re-sizable. We would like for the workbook to open full screen.
Please submit recommendations/ideas.
Thank you.