MACSCRPT Archives

October 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Steele <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 2 Oct 2009 09:18:36 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
>You're asking the wrong question to Excel. You don't actually want the value
>of every cell in column 4 of the worksheet: in Excel 2008, worksheets now
>have 65,635 rows! That's why you get the spinning beachball - it's going
>through all 65,353 cells in column 4.
>
>What you want is just the *filled* cells. That's not difficult at all; the
>'used range' property of sheet gets you exactly that, immediately. You don't
>have to count the filled rows either, or know in advance how many there are.
>
>     value of column 4 of used range of active sheet
>
--> "missing value"
-- 

Bill Steele
[log in to unmask]

ATOM RSS1 RSS2