Solved

Error mesage when creating document from template

  • 17 March 2022
  • 5 replies
  • 74 views

Badge +2

Do you have a idea of the reason that explains why it appears the following error message after creation of a document from a template ?

 

 

 

 

icon

Best answer by Mathias Dahl 17 March 2022, 16:02

View original

This topic has been closed for comments

5 replies

Userlevel 7
Badge +30

All I could say about that is that there is an error in the macro that executes when a document is created. Why it fails I cannot say. You need to debug the macro I guess, for example by using message boxes here and there to see how far the macro runs without an error.

 

 

Badge +2

Thank you for your answer @Mathias Dahl I am going to try to follow your suggestion and see what happens.

Userlevel 7
Badge +30

If you don’t need macros you can always disable them for the document class you are using. It can be done under Document Class Process Action.

 

Badge +2

 

The solution found was indeed to go in Document Class Process Action and change Document Process CREATENEW with Macro Option NoMacro.

Thank you @Mathias Dahl 

 

Userlevel 7
Badge +30

Someone wanted that macro to be used though... 🙃 But perhaps this was not a production environment...