Re: MS Excel help !!!
Re: MS Excel help !!!
- Subject: Re: MS Excel help !!!
- From: Kai Edwards <email@hidden>
- Date: Sun, 23 Dec 2001 14:53:26 +0100
Does the variable 'generale' refer to a file path?
If so, you could simply convert it to an alias and give the job to the
Finder (watch out for line wraps):
try
set generale to "Macintosh HD:Desktop
Folder:FantaKapNew:Formattazioni:XLS:" & (numGiornata) & ":Generale.xls" as
alias
end try
tell application "Finder"
if exists generale then open generale
end tell
>
Date: Sat, 22 Dec 2001 16:30:28 +0100
>
Subject: MS Excel help !!!
>
From: rhyme <email@hidden>
>
To: <email@hidden>
>
>
How do i use the command exists in Ms Office ??
>
i want to open a file if this exists into the directory !
>
i've tried with this script but it doesn't run :
>
>
set generale to "Macintosh HD:Desktop Folder:FantaKapNew:Formattazioni:XLS:"
>
& (numGiornata) & ":Generale.xls"
>
>
tell application "Microsoft Excel"
>
>
if exists generale then
>
Open generale
>
end if
>
>
end tell
--
**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************