Maximizing Excel via Using VB.Net

Hi @yigit.aybey ,

Could you try replacing the screenSize.Maximize() with the below :

Microsoft.Office.Interop.Excel.XlWindowState.xlMaximized

Let us know if you still get an error.

1 Like