• 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: Run a Macro in MS Excel (v.X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run a Macro in MS Excel (v.X)


  • Subject: Re: Run a Macro in MS Excel (v.X)
  • From: "Patrick D. Fox" <email@hidden>
  • Date: Wed, 29 Jan 2003 10:29:23 -0800

Hi Steve:

Here is an example of the syntax I use in one of my scripts:

Evaluate ("'" & Name of ActiveWorkbook & "'" &
"!GeneratePivotTables.GeneratePivotTables()")

(note: no line break)

Patrick

> Sorry to seem so dumb... but how can I use this command to run a macro?
> I tried the test below but it wouldn't even compile.
>
> Tell App "Excel"
> Evaluate Macro "Macro1"
> End Tell
>
> Thanks,
>
> Steve
>
> On Wednesday, January 29, 2003, at 02:29 pm, David Glass wrote:
>
>> Have you looked at 'Evaluate'?
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Run a Macro in MS Excel (v.X) (From: Steve Savery <email@hidden>)

  • Prev by Date: Re: String manip: from AppleScript to shell
  • Next by Date: Re: Very strange dates - BUG
  • Previous by thread: Re: Run a Macro in MS Excel (v.X)
  • Next by thread: Re: Run a Macro in MS Excel (v.X)
  • Index(es):
    • Date
    • Thread