P
pmm
I have build a template with some vba-code to handle userinput with at
userdefined
dialogbox. After the dialogbox is closed the data is placed in the
document.
I have also added a button to the ribbon, so the userdialogbox can be
showed again,
with the data from the document in the userdefined dialobox. It works
fine.
Then I save the document as xxxx.docm (document with macro).
Now the problem: When the document is open again the macrocode and
then button in the
ribbion is missing!
I have tried to add trusted locations where the template and the
document are saved,
(also remembered Subfolders) but that was not the solution. If the
document is saved
as Word 97-2003 format, it works as expected (is works fine). But why
is it a problem
with the Word 2007 format?
I will be very happy if someone can solve this problems for me.
userdefined
dialogbox. After the dialogbox is closed the data is placed in the
document.
I have also added a button to the ribbon, so the userdialogbox can be
showed again,
with the data from the document in the userdefined dialobox. It works
fine.
Then I save the document as xxxx.docm (document with macro).
Now the problem: When the document is open again the macrocode and
then button in the
ribbion is missing!
I have tried to add trusted locations where the template and the
document are saved,
(also remembered Subfolders) but that was not the solution. If the
document is saved
as Word 97-2003 format, it works as expected (is works fine). But why
is it a problem
with the Word 2007 format?
I will be very happy if someone can solve this problems for me.