• 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
Word 2011 - Executing VBA from an AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Word 2011 - Executing VBA from an AppleScript?


  • Subject: Word 2011 - Executing VBA from an AppleScript?
  • From: Dave <email@hidden>
  • Date: Thu, 17 Mar 2016 13:51:38 +0000

Hi,

I found this:

tell application "Microsoft Word"
    set vbCode to "ActiveDocument.CustomDocumentProperties(\"foo\").Delete"
    do Visual Basic vbCode
end tell

But SE errors on “do Visual Basic vbCode”, does VBA still work on Word 2011?

All the Best
Dave



 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Word 2011 - Executing VBA from an AppleScript?
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Script to clear Safari?
  • Next by Date: Re: AppleScript-ObjC Syntax Problem on NSArray count method?
  • Previous by thread: Re: Script to clear Safari?
  • Next by thread: Re: Word 2011 - Executing VBA from an AppleScript?
  • Index(es):
    • Date
    • Thread