• 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
file to open whit xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file to open whit xcode


  • Subject: file to open whit xcode
  • From: Gonçalo Miguel <email@hidden>
  • Date: Tue, 3 May 2005 21:35:14 +0100

Hi list,
i trying to make a small application whit xcode that goes search some number in a file of excel and display that numbers in the app but i have a problem, when i ask the app to chose the file, the "application Microsoft Excel" can get the file.
Can some one help me?

on clicked buttonofexcel


set fileofexcel to choose file


tell application "Microsoft Excel"
Open fileofexcel
set celula3 to Formula of Range ("R3C1")
set celula4 to Formula of Range ("R4C1")
set celula5 to Formula of Range ("R5C1")
set celula6 to Formula of Range ("R6C1")
Close ActiveWorkbook
end tell
set contents of text field "janela1" of window "janelaprincipal" to celula3
set contents of text field "janela2" of window "janelaprincipal" to celula4
set contents of text field "janela3" of window "janelaprincipal" to celula5
set contents of text field "janela4" of window "janelaprincipal" to celula6
end clicked


Gonçalo Miguel
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: every file in path error
  • Next by Date: Re: Choose file
  • Previous by thread: Re: every file in path error
  • Next by thread: parsing an XML file
  • Index(es):
    • Date
    • Thread