I have the same issue i created a vbscript copied the first part into the macro section in office 2007.
Second part in the document itself . Saved it as a 2003 document.

When i open it in officer...