• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"Do Visual Basic" crashes Word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Do Visual Basic" crashes Word


  • Subject: "Do Visual Basic" crashes Word
  • From: Ted Fitzpatrick <email@hidden>
  • Date: Mon, 04 Dec 2006 14:31:46 -0800

Hi,

I have a script that uses the following syntax to command Word to run a VBA macro:

Do Visual Basic "Application.Run\"MacroSubroutineName\""

This works fine on pre-Intel machines, and was originally working on my MacBook Pro (when I tested it several months ago.) I tested again several days ago, and MS Word is crashing upon the second macro call ? AppleScript then displays error *-609 "Connection is Invalid" because MS Word died. Anyone have a similar experience?

As far as changes I made to my MacBook from several months ago to several days ago, I've only done the Apple updates, and I have the most recent version of MS Word 2004. I did install a couple of dashboard widgets, can't imagine how these would trip up the OSA.

My config: [Intel MacBook, Tiger 10.4.8, MS Word 11.3 (060914)]

Thanks,

Ted Fitzpatrick
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: "Do Visual Basic" crashes Word
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Odd Finder Behavior
  • Next by Date: Mount Volume in OS 10.4
  • Previous by thread: Re: Filemaker, Applescript and custom privilges
  • Next by thread: Re: "Do Visual Basic" crashes Word
  • Index(es):
    • Date
    • Thread