• 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: MS Excel help !!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: MS Excel help !!!
      • From: Kai Edwards <email@hidden>
  • Prev by Date: Re: For want of a better ASS reference
  • Next by Date: Re: MS Excel help !!!
  • Previous by thread: Re: MS Excel help !!!
  • Next by thread: Re: MS Excel help !!!
  • Index(es):
    • Date
    • Thread