Consulting

Results 1 to 7 of 7

Thread: Word 2011: AutoNew() doesn't run

  1. #1

    Word 2011: AutoNew() doesn't run

    I'm attempting to port an already established macro I have to Macs. The original macro itself has been tested to work from Word XP to Word 2010 (64-bit even). This is my first time working with a Mac, and so far so good. I've got everything humming as far as the main functionality goes.

    The macro works with a shortcut that then launches a new document from a template, which should fire AutoNew(). I've researched, and this seems to be the same principle Word for Mac works on. However, I can't seem to get AutoNew() to fire at all. I even tried Document_New() and no go.

    Is there some kind if trick or quirk I'm missing here?

    Thanks in advance for any assistance.

  2. #2
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location

  3. #3
    Quote Originally Posted by tpoynton
    Is that not allowed? Just wondering.

    There's so little documentation out there for VBA on Macs.

  4. #4
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    it's allowed when explicitly acknowledged by providing a link

  5. #5
    Quote Originally Posted by tpoynton
    it's allowed when explicitly acknowledged by providing a link
    Gotcha.

    I'm getting it worked on in that linked thread. Is that you on the other end? Either way, I'll make sure to mark it solved in both spots if the issue gets resolved in either thread.

  6. #6
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Thanks for the future thread marking.

    About the problem, I don't use AutoRun with my Mac, I use the Document_Open event. Have you tried that.

  7. #7
    Quote Originally Posted by mikerickson
    Thanks for the future thread marking.

    About the problem, I don't use AutoRun with my Mac, I use the Document_Open event. Have you tried that.
    It's actually AutoNew, and yeah, I tried Document_Open as well. I'll experiment with it some more tomorrow, when I get back to work. Thanks for the response.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •