Problem with MacScript in VBA for Excel 2004

T

TimGolobic

If have recently installed Office 2004 and had been using Office X for
several years.

I have a macro that dials the phone by calling a MacScript within the
VBA code. In Office X this works fine. By in 2004 it get an "Invalid
procedure call or argument" runtime error.

Here's the line of code that it doesn't like:
MacScript ("Macintosh HD:Applications:Communications:ABDialer
Scripts:ABDialer Dial Script")

Like I said, this works great in Office X, just not 2004.

Thanks for the help,

Tim
 
J

JE McGimpsey

Here's the line of code that it doesn't like:
MacScript ("Macintosh HD:Applications:Communications:ABDialer
Scripts:ABDialer Dial Script")

Like I said, this works great in Office X, just not 2004.

This worked for me in XL04 when I tested it with the same path on my
machine.

Are you sure the path is correct? Are permissions set to allow access to
the script? Does the script have an extension?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top