I can open a .dot templat开发者_开发问答e from a hyperlink fine,
but it opens read-only and does not run the autonew macro. Is there a setting or something obvious Im missing?I'm pretty sure that's a security feature of Word to prevent macro viruses. You could this after the document has been created:
wordobj.Run("autonew");
However, if there are multiple macros loaded called "autonew", then you can't be sure it will run yours.
精彩评论