Article View: pl.comp.lang.vbasic
Article #104368Re: [VBA] Word - usuwanie fragmentów tekstu zgodnie z wyrażeniem regularnym
From: jacki
Date: Mon, 02 Nov 2009 20:03
Date: Mon, 02 Nov 2009 20:03
22 lines
1805 bytes
1805 bytes
InDesign Scripts pisze: >> Podpowiesz w jaki sposób mogę w pętli wczytywać sobie kolejno każdą >> linijkę? Googlam, googlam i nie mogę wygooglać. > > For a = ActiveDocument.Paragraphs.Count To 1 Step -1 > ActiveDocument.Paragraphs.Item(a).Range.InsertBefore _ > (ActiveDocument.Paragraphs.Item(a).Style + "#$#") > Next a > > to coś wstawia nazwę stylu akapitowego na początku każdego akapitu > > no ale zeby sie dobrac do zawartosci akapitu - to juz musisz powalczyc z > funkcją MID - czyli powycinać sobie substringi - ale to już bułka z > masłem ;) Wielkie dzięki, chyba już mi się uda zawalczyć. Pozdrawiam -- Andrzej Jackiewicz jacki(at)idealan.pl
Technical Details
Message-ID:
<hcnduj$dv0$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.task.gda.pl!not-for-mailReferences:
<hc6et5$i0m$1@news.task.gda.pl> <hc6p0n$br4$1@news.task.gda.pl> <hc6uf8$c44$1@inews.gazeta.pl> <hc7dce$hc6$1@news.task.gda.pl> <hc7h9d$lst$1@inews.gazeta.pl> <hcn48v$g1b$1@news.task.gda.pl> <hcn8l3$oku$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.task.gda.pl!not-for-mail From: jacki <collector@idealan.pl> Newsgroups: pl.comp.lang.vbasic Subject: Re: [VBA] Word - usuwanie fragmentów tekstu zgodnie z wyrażeniem regularnym Date: Mon, 02 Nov 2009 21:03:34 +0100 Organization: CI TASK http://www.task.gda.pl/ Lines: 22 Message-ID: <hcnduj$dv0$1@news.task.gda.pl> References: <hc6et5$i0m$1@news.task.gda.pl> <hc6p0n$br4$1@news.task.gda.pl> <hc6uf8$c44$1@inews.gazeta.pl> <hc7dce$hc6$1@news.task.gda.pl> <hc7h9d$lst$1@inews.gazeta.pl> <hcn48v$g1b$1@news.task.gda.pl> <hcn8l3$oku$1@inews.gazeta.pl> NNTP-Posting-Host: jackimode.siec.idealan.pl Mime-Version: 1.0 X-Trace: news.task.gda.pl 1257192211 14304 80.48.82.200 (2 Nov 2009 20:03:31 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Mon, 2 Nov 2009 20:03:31 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <hcn8l3$oku$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit