Setting FreezePanes using c# raises error when worksheet in the background
When I set FreezePanes with c# when the worksheet is in the background (This is one of the last actions I do in a process of a few minutes, in the meanwhile users tend to move away and do other stuff).
I begin with worksheet.Activate(), and it is the same code I used with versions 2010 and 1013 but in version 2016 it raises an error.
Why is it needed to do FreezePanes on an activated worksheet anyway? All other styling is not depending on this.