I tested your code with excel 2013, no problems on my test sheet