I'm trying to run a Word VBA macro and am getting an error message I never had before. My normal.dot template got corrupted last week and I had to remake it, so it's probably linked to that.

Anyway, this line is no longer understood by the compiler:

Dim MyDataObj As New DataObject

"User defined type not defined" is the message.

Any ideas what I need to add so that this type is recognised again?