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

Re: Excel 2004


  • Subject: Re: Excel 2004
  • From: "Justin Laden" <email@hidden>
  • Date: Fri, 14 Dec 2007 15:17:50 -0500

First, Paul Berkowitz has produced a fantastic reference to using AS
in Excel.  Although it's not as exhaustive as I would like, I can't
really complain--I use it constantly.

I strongly suggest you give it a read before you begin writing any AS
for Excel, and again, after you've tried and most of your scripts have
crashed.

http://www.mactech.com/vba-transition-guide/index-toc.html

For your problem, I would suggest using the AS command COPY, instead
of SET.  Set is nice, but it's too easy in Excel to wipe out the data
that you're referencing.

--this code copies the value of the cell into a variable
copy value of cell "B1" to x

--this code sets another cell to the value of x
set value of cell "C33" to x

Hope that helps.
-Justin L
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Determine if a Word Document is New or Saved
  • Next by Date: Re: Excel 2004
  • Previous by thread: Re: Determine if a Word Document is New or Saved
  • Next by thread: Re: Excel 2004
  • Index(es):
    • Date
    • Thread