• 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: strings, again and again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strings, again and again


  • Subject: Re: strings, again and again
  • From: Kurt Klamp <email@hidden>
  • Date: Tue, 5 Feb 2008 00:32:33 +0100


Am 05.02.2008 um 00:05 schrieb Gary (Lists):


Thanks for the responses everyone, and your suggestions did help clear
some things up, but not--and I want to add emphasis here--with Excel.

I didn't know there was anything to do with Excel (or I blanked that part of
it.) I don't use Excel so I can't help with that bit.


Let me provide an example--I wrote this test script, which works,
outside of my main code:


set testList to {{"Q1718_00_"}, {"D1198 BAI"}, {"A3000"}}

Now you've got lists of lists. I don't understand the need for that.

Why is the data that way?
Where does the data come from?


Maybe i can clarify a little bit:

getting/setting(values) of parts of a sheet in excel you do with range objects.
They are always row-column structured. Each row is a list and each column is a item in this list. So we get/have to use always a list of list, even if theres only one column in the the range.
if you want to get the values of row 5 to 10 in column "I" you code


set thelist to get values of range "I5:I10"
--> e.g. {{1},{2},{3},{4},{5}}

--
Kurt

_______________________________________________
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
  • Follow-Ups:
    • Re: strings, again and again
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Re: strings, again and again (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: strings, again and again
  • Next by Date: Scope/Context issue?
  • Previous by thread: Re: strings, again and again
  • Next by thread: Re: strings, again and again
  • Index(es):
    • Date
    • Thread