Re: Applescript from Excel button
Re: Applescript from Excel button
- Subject: Re: Applescript from Excel button
- From: David Wignall <email@hidden>
- Date: Thu, 29 Apr 2004 18:24:29 +1200
on 29/04/2004 9:04 AM, Tom Bilski at email@hidden wrote:
<snip>
>
In this particular instance I have a macro that is
>
launched from a button. The macro line is simply...
>
>
Sub ExportToUnix()
>
MacScript ("Manufacturing:Scripts:ExportToUnix")
>
End ExportToUnix
>
>
I have been using this macro and script (and many like it) for several years
>
without any problems.
>
I ran into a problem when I updated to OSX 10.3.3. Now, when I try to run
>
this macro I get one of two problems. Either I get a 3Microsoft Visual
>
Basic2 dialog box that states 3Run-time error 59: Invalid procedure or
>
argument... Or the script executes and then I get the same message.
>
Is anyone aware of a change in AppleScript that would cause such a problem?
>
Any idea what I can try to get around it?
Can't reproduce it here, OS X 10.3.3, XL 10.1.5. Is the last line of your
VBA macro really 'End ExportToUnix'? That doesn't compile. What happens if
you run the script directly?
Oh, fwiw, that should be error number 5; 59 is bad record length.
--
Dave
_______________________________________________
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.