A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If you right click on the button in the worksheet and then on View Code, does it take you to the code that works when you run it from the Visual Basic Editor?
While I think that it is unlikely that it is something in the code that uniquely will not run in 2013, if you were to paste the code into a response here, others could try running it in 2013 to check you assumption.