Where do you get the error?

Could you post the xlsm and the docm?