"Unable to set the FreezePanes property of the Window class" Excel 2016 (office 365)
"Unable to set the FreezePanes property of the Window class" Excel 2016 (office 365)
"Unable to set the FreezePanes property of the Window class" Excel 2016 (office 365)
Re: "Unable to set the FreezePanes property of the Window class" Excel 2016 (office 365)
Yes! I fixed this like Xatoo suggested with adding:
```
Worksheet.Application.ActiveWindow.WindowState = Microsoft.Office.Interop.Excel.XlWindowState.xlNormal;
```
It is important to add that this solution only works when in fact the window is minimized, so you need to check on this.
Funny detail is that this still does not send the window to the foreground.
```
Worksheet.Application.ActiveWindow.WindowState = Microsoft.Office.Interop.Excel.XlWindowState.xlNormal;
```
It is important to add that this solution only works when in fact the window is minimized, so you need to check on this.
Funny detail is that this still does not send the window to the foreground.