PDA

View Full Version : Word 2011: AutoNew() doesn't run



carrrnuttt
03-29-2011, 11:28 AM
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.

tpoynton
03-29-2011, 05:55 PM
crossposted at http://officeformac.com/ms/ProductForums/Word/13510

carrrnuttt
03-29-2011, 06:28 PM
crossposted at http://officeformac.com/ms/ProductForums/Word/13510

Is that not allowed? Just wondering.

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

tpoynton
03-30-2011, 03:08 AM
it's allowed when explicitly acknowledged by providing a link

carrrnuttt
03-31-2011, 10:30 AM
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.

mikerickson
03-31-2011, 06:17 PM
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.

carrrnuttt
03-31-2011, 08:54 PM
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.