<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBA: Поиск значения в стобце]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14196&amp;type=atom" />
	<updated>2018-09-29T04:19:17Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14196</id>
		<entry>
			<title type="html"><![CDATA[Re: VBA: Поиск значения в стобце]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128915#p128915" />
			<content type="html"><![CDATA[<p>Спасибо большоее всем ответившим! <br />Я попробовал ввести в макрос немного другую формулу и все получилось! Я ввел IIf [MAX(A1:A1000)] &gt; 3 Then ... и дальше код макроса</p>]]></content>
			<author>
				<name><![CDATA[alkhimovmet]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39550</uri>
			</author>
			<updated>2018-09-29T04:19:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128915#p128915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBA: Поиск значения в стобце]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128909#p128909" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Sub Test()
    ActiveCell.FormulaR1C1 = &quot;=IF(COUNTIF(RC[-2]:R[999]C[-2],&quot;&quot;&gt;3&quot;&quot;),RC[-1],&quot;&quot;&quot;&quot;)&quot;
End Sub</code></pre></div><p>=ЕСЛИ(СЧЁТЕСЛИ(A1:A1000;&quot;&gt;3&quot;);B1;&quot;&quot;)</p>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2018-09-28T20:08:45Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128909#p128909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBA: Поиск значения в стобце]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128908#p128908" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Option Explicit

Sub Sample()
    Dim objRange As Range
    
    
    With ThisWorkbook.ActiveSheet
        For Each objRange In Intersect(.UsedRange, .Range(&quot;A1:A1000&quot;))
            If objRange.Value &gt; 3 Then
                .Range(&quot;C1&quot;).Value = .Range(&quot;B1&quot;).Value
                
                Exit For
            End If
        Next objRange
    End With
End Sub
</code></pre></div><p>Для активного Рабочего листа текущей Рабочей книги.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2018-09-28T19:25:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128908#p128908</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBA: Поиск значения в стобце]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128893#p128893" />
			<content type="html"><![CDATA[<p>Как записать в макрос условие, что если любое значение в столбце (например A1:A1000) больше 3, то в ячейку С1 записать значение ячейки В1</p>]]></content>
			<author>
				<name><![CDATA[alkhimovmet]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39550</uri>
			</author>
			<updated>2018-09-28T12:45:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128893#p128893</id>
		</entry>
</feed>
