Re: Help me
Re: Help me
- Subject: Re: Help me
- From: David Wignall <email@hidden>
- Date: Tue, 18 Dec 2001 19:51:05 +1300
on 18/12/01 3:13 pm, rhyme at email@hidden wrote:
>
Hi, im a new member fo this list !
Hello
>
i need help with applescript ....... im trying to edit a script for MsExcel
>
! in particular i need to execute a macro......this is my code now
>
>
launch application "Microsoft Excel"
>
set numero to "inserisci il numero della giornata"
>
set form to display dialog "Che giornata vuoi aggiornare ?" default answer
>
numero
>
set numGiornata to text returned of form
>
set doc to "format.formazioni" & (numGiornata) & ".xls"
>
tell application "Microsoft Excel"
>
Open "Macintosh HD:Desktop
>
Folder:FantaKapNew:Formattazioni:XLS:macro.xls"
>
Open "Macintosh HD:Desktop Folder:FantaKapNew:Formattazioni:XLS:" &
>
(numGiornata) & ":" & doc
>
--Here i need to execute a macro HELP ME PLEASE--
Create the VB macro as usual and then call it from your script with the line
RunMacro "(MacroName)"
>
Thanks to all, bye !
No worries. Hope I helped
--
Dave
References: | |
| >Help me (From: rhyme <email@hidden>) |