file to open whit xcode
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