<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум компьютерной помощи &mdash; VBA - удаление строки, длиной меньше n символов.]]></title>
	<link rel="self" href="https://itpmr.ru/extern.php?action=feed&amp;tid=763&amp;type=atom" />
	<updated>2013-01-11T12:14:12Z</updated>
	<generator>PunBB</generator>
	<id>https://itpmr.ru/viewtopic.php?id=763</id>
		<entry>
			<title type="html"><![CDATA[VBA - удаление строки, длиной меньше n символов.]]></title>
			<link rel="alternate" href="https://itpmr.ru/viewtopic.php?pid=123834#p123834" />
			<content type="html"><![CDATA[<p>Application.Browser.Previous</p><p>Dim i As Long<br />For i = 2 To Documents(1).Paragraphs.Count<br />строка = ActiveDocument.Paragraphs(i).Range.Text<br />&#039;MsgBox строка<br />длина = Len(строка)<br />If длина &lt; 50 Then<br />ActiveDocument.Paragraphs(i).Range = &quot; &quot; &amp; vbCrLf<br />&#039; далее удаляем дубликаты строк<br />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><br /><p>End If<br />Next</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://itpmr.ru/profile.php?id=2</uri>
			</author>
			<updated>2013-01-11T12:14:12Z</updated>
			<id>https://itpmr.ru/viewtopic.php?pid=123834#p123834</id>
		</entry>
</feed>
