• 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
Re: Applescript from Excel button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Applescript from Excel button (From: Tom Bilski <email@hidden>)

  • Prev by Date: Re: String works, variable that's a string does not.
  • Next by Date: Re: Unique Identifier for Disk
  • Previous by thread: Applescript from Excel button
  • Next by thread: Re: Applescript from Excel button
  • Index(es):
    • Date
    • Thread