Hi all,

I hope someone else on the planet has used Illustrator VBA before....

I have been using a Word macro to obtain diagrams from Illustrator for insertion into Word. The actual macro works fine, but(!), when a visible instance of Illustrator is already open the screen focus switches to Illustrator when a document is openned or manipulated which slows the code down considerably.

I have tried using LockWindowUpdate, SendMessage and ShowWindow APIs without much luck. I think some of these don't work because Illustrator has many windows as sub menus.

Any suggestions/sympathy would be appreciated.

Cheers,
Andrew