SelectedTab cannot be set before the pane has been added to a panes collection

I keep receiving this message every time I want to open a document and start working on it. I tried to click on "reset window layout", but nothing happened. What can I do? :(

Parents Reply Children