Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with VBA in Microsoft Word 2001



I have been experiencing difficulty running a VBA script in Microsoft
Word 2001 from applescript on OS 10.1.2 . The following script fails
and leads to an error message that Applescript timed out.

tell application "Microsoft Word"
do Visual Basic "Application.Run
MacroName:=\"A_VBA_Script_in_Word_2001\""
end tell


The script used to work before I upgraded to Jaguar. I am not sure what
the problem is and whether the upgrade led to the error or whether the
script has an error in it. Any ideas on how to run a macro in Word
from AS?

Alan Kimelman MD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.