Re: strings, again and again
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