This error usually occurs because of macro security settings. If you know that the macro comes from a source that you trust, you can change your macro security settings to allow you to enable the macro. The way that you change your macro security settings depends on the Microsoft Office System program that you are using. The error is like below image.
Solution:
1. Click on the Windows "Start" button
2. Go to "Control Panel"
3. Select "Programs and Features "
4.
On the "Uninstall a program" page, select "Microsoft Office [suite]
2007/2010" and then right click on it. It will show up a "Uninstall or Change" message. Select "Change" and then It will pop up a "Add or Remove
Features" page.
5. Check "Office Shared Features" and set to "Run from my computer".
6. After you install all components, restart your PC. That is it.