I have an issue with activating a sheet from a user form, the same code works fine in Excel 2003 to Excel 2010, doesn\'t work with Excel 2013.
This is how to simply
I was able to reproduce the error in Excel 2013 as per Profex's answer. A workaround that solved the issue for me was to make my userform modeless.
userform1.show vbModeless
I understand that this workaround won't be helpful if you require a modal form, but hopefully it will save the next person some time.