• 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: Help me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Help me
      • From: Paul Berkowitz <email@hidden>
References: 
 >Help me (From: rhyme <email@hidden>)

  • Prev by Date: Re: Scripting Illustrator9.x and InDesign1.5 or 2....
  • Next by Date: Re: Help me
  • Previous by thread: Help me
  • Next by thread: Re: Help me
  • Index(es):
    • Date
    • Thread