Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problem with MacScript in VBA for Excel 2004

 
   Macintosh computer (Home) -> Excel RSS
Next:  Basic Notation on OS X Calculator?  
Author Message
TimGolobic

External


Since: Feb 13, 2005
Posts: 2



(Msg. 1) Posted: Tue Dec 11, 2007 8:13 am
Post subject: Problem with MacScript in VBA for Excel 2004
Archived from groups: microsoft>public>mac>office>excel (more info?)

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

 >> Stay informed about: Problem with MacScript in VBA for Excel 2004 
Back to top
Login to vote
JE McGimpsey

External


Since: Mar 07, 2004
Posts: 3828



(Msg. 2) Posted: Tue Dec 11, 2007 9:41 pm
Post subject: Re: Problem with MacScript in VBA for Excel 2004 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
<6572d8a7-ed59-41ed-b4cc-ce64562b4568.DeleteThis@r60g2000hsc.googlegroups.com>,
TimGolobic.DeleteThis@aol.com wrote:

> 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?

 >> Stay informed about: Problem with MacScript in VBA for Excel 2004 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Excel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]