Skip to main content
InSource Solutions

TN HistClient113 Historian Client Report getting error message Can't execute code in design mode.

insource logo large.jpg

 


After Installing the Historian Client software and trying to open the Historian Client Report for the first time you get a 'Can't execute code in design mode' error followed by a 'Macro cannot be found' error. This Tech Note walks you through how to resolve this.

 

  • Author: Alex Davenport
  • Published: 12/16/2015
  • Applies to: Historian Client 

 

 

1 When opening Historian Client Report for the first time Microsoft Word appears with the following error message. Click the OK button.

 

Macro7.JPGMacro.JPG

 

2 Another error message appears and again click the OK button.

 

Macro1.JPG

 

3 In Microsoft Word click on the File Menu then the Options button as seen below.

 

Macro2.JPG

 

Macro3.JPG

 

4 The Wizard option menu appears then click on the Trust Center Tab then the Trust Center Settings button

 

Macro4.JPG

 

5 The Trust Center Menu appears and then click on the Macro Settings button and then select the Enable all macros option as seen below. Click the OK button

 

Macro5.JPG

 

6 Another error message will appear and click the OK button. Restart Historian Client Report and this will start with no error messages. 

 

Macro6.JPG