Re: Simple Excel Script not working
Re: Simple Excel Script not working
- Subject: Re: Simple Excel Script not working
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 19 Aug 2003 14:51:32 -0700
On 8/19/03 2:41 PM, "Courtney Moore" <email@hidden> wrote:
>
On 8/19/03 4:32 PM, "Dave Balderstone" <email@hidden>
>
wrote:
>
>
>
>
> On Tuesday, August 19, 2003, at 03:10 PM, Courtney Moore wrote:
>
>
>
>> Tell application "Microsoft Excel"
>
>> Create New Workbook
>
>> End tell
>
>>
>
>> I run it and it opens Excel and then gives me the error:
>
>> "Microsoft Excel got an error: Can't continue Create."
>
>>
>
>> Anyone have anyway around this?
>
>
>
> You have to tell it *where*
>
>
>
> tell application "Microsoft Excel"
>
> Create New Workbook at beginning
>
> end tell
>
>
No you don't. [At] is an optional parameter, not required as it is for Apple
Cocoa apps, for example.
Create New Workbook
works just fine, on its own, OMM: it opens a new workbook in the front. (Did
you try it?)
Courtney's problem, as s/he suspected, must be with the OS X user folder
being on a remote disk.
>
>
>
Copied and pasted what you had suggested and I go the same error that I was
>
receiving before! YEEKS!
>
I am running 10.2.6
--
Paul Berkowitz
_______________________________________________
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.