HI,
one more problem since I changed from WOrd 2011 to WOrd 2016: I had a macro running that delete a variable called "varMerk42" when closing any word document. I put it in Normal => this document:
Code:
Private Sub Document_Close()
On Error Resume Next
ActiveDocument.Variables("varMerk42").Delete
End Sub
It worked perfectly on WOrd 2011. But now it doesn´t work any more: The macro runs (I tested that putting a line with a msg box) but it simply doesn´t delete the variable as wished.
Any ideas?
Thanks, swenniels