• 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: Setting a range using a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a range using a variable


  • Subject: Re: Setting a range using a variable
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 29 Mar 2008 10:44:16 -0700
  • Thread-topic: Setting a range using a variable

Title: Re: Setting a range using a variable
On 3/29/08 9:14 AM, "Ed Stockly" <email@hidden> wrote:


 

     sort range ("C & i  :  J" & i) 


This is how I would specify a range in Excel:
   range ("C" & i & ":" & "C" & i)

Save some typing (and the OP's example for the second column was "J"):

    range ("C" & i & ":J" & i )

as Stan said. Of course Raymond somehow expected everyone to know he was scripting Excel, though he never said so. Luckily, everyone knew.

--
Paul Berkowitz
 _______________________________________________
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

References: 
 >Re: Setting a range using a variable (From: Ed Stockly <email@hidden>)

  • Prev by Date: Re: Setting a range using a variable
  • Next by Date: Re: Ruby and AppleScript
  • Previous by thread: Re: Setting a range using a variable
  • Next by thread: Re: AppleScript-Users Digest, Vol 5, Issue 203
  • Index(es):
    • Date
    • Thread