<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум компьютерной помощи &mdash; Visual basic - удаление строки с словом]]></title>
		<link>http://itpmr.ru/viewtopic.php?id=792</link>
		<atom:link href="http://itpmr.ru/extern.php?action=feed&amp;tid=792&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Visual basic - удаление строки с словом».]]></description>
		<lastBuildDate>Wed, 31 Jul 2013 06:53:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Visual basic - удаление строки с словом]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=123894#p123894</link>
			<description><![CDATA[<p>Скрипт удаляет все строки в документе, которое содержит определенное слово:</p><p>Application.Browser.Previous</p><p>Dim i As Long<br />For i = 2 To Documents(1).Paragraphs.Count<br />stoka = ActiveDocument.Paragraphs(i).Range.Text</p><p>Dim Nrav As String</p><p>Nrav = InStr(stoka, &quot;СЛОВО&quot;)<br />If Nrav &lt;&gt; 0 Then<br />ActiveDocument.Paragraphs(i).Range = &quot; &quot; &amp; vbCrLf</p><p>If ActiveDocument.Paragraphs(i).Range = ActiveDocument.Paragraphs(i - 1).Range Then<br />ActiveDocument.Paragraphs(i).Range.Delete<br />i = i - 1<br />End If</p><p>End If<br />Next</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Wed, 31 Jul 2013 06:53:33 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=123894#p123894</guid>
		</item>
	</channel>
</rss>
