🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17595

Re: (VB) Why I cannot call Column.Search?

#17595
From: Olav Kvern
Date: Fri, 23 May 2003 22:18
11 lines
1417 bytes
Ana--

I'm not sure why it doesn't work--it should (as it does in the UI). This is probably a bug in both Columns and Rows--Table.Search and Cell.Search work just fine; Row.Search also fails.

I'll see what we can find out about this problem. As a workaround, you can search each cell in the column. (Note, however, that Cell.Search will fail if the cell does not contain any text.)

By the way--be careful with For Each...Next constructions. InDesign will only iterate through the first 255 items in the collection (this is to prevent crashes in VB's Locals Window and Watches Window). Lots of ID collections have more than 255 elements (fonts, characters, etc.).

Thanks,

Ole
Technical Details
Message-ID: <1de94001.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de94001.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,7b6c8d87da81d07f
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-23 15:38:19 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: (VB) Why I cannot call Column.Search?
Message-ID: <1de94001.0@WebX.la2eafNXanI>
Date: Fri, 23 May 2003 15:18:29 -0700
References: <1de94001.-1@WebX.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit