Article View: adobe.scripting.indesign
Article #19848Re: Character count limit when iterating
From: Chris Haas
Date: Mon, 18 Nov 2002 22:34
Date: Mon, 18 Nov 2002 22:34
24 lines
1595 bytes
1595 bytes
Thanks a lot Ole. Now that you say that I remember reading that earlier. "Olav Kvern" <okvern@adobe.com> wrote in message news:1de6a6c4.0@WebX.la2eafNXanI... > Chris-- > > It's a bug (or, actually, something to keep VB's Debug window from crashing)--you have to use For <counter> from <startValue> to <endValue>...Next, rather than For Each...Next. > > So, instead, use: > > > > For myCounter = 1 to myPara.Characters > Debug.Print myPara.Characters.Item(myCounter).TextContents > Next > > > > > Thanks, > > Ole
Technical Details
Message-ID:
<9A74FCDBB2666BEA9E5C202F56FC12E2@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed1.bredband.com!bredband!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<57C203B6751238E56E447805B1ABBBE5@in.WebX.la2eafNXanI> <1de6a6c4.0@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e1d789c8ed14f71 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-18 16:54:50 PST From: "Chris Haas" <ChrisH@OvationAdvertising.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed1.bredband.com!bredband!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Character count limit when iterating Message-ID: <9A74FCDBB2666BEA9E5C202F56FC12E2@in.WebX.la2eafNXanI> Date: Mon, 18 Nov 2002 14:34:47 -0800 References: <57C203B6751238E56E447805B1ABBBE5@in.WebX.la2eafNXanI> <1de6a6c4.0@WebX.la2eafNXanI> Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit