<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Excel com. FormatConditions]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13705&amp;type=atom" />
	<updated>2018-05-14T14:45:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13705</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125354#p125354" />
			<content type="html"><![CDATA[<p>Всем спасибо за внимание!<br /></p><div class="codebox"><pre><code>double.FormatConditions(1).DupeUnique := xlDuplicate:= 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-05-14T14:45:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125354#p125354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125353#p125353" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>inseption86</strong>, поставьте пропущенные заглавные буквы и точки в сообщениях:<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=120033#p120033">http://forum.script-coding.com/viewtopi … 33#p120033</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=124790#p124790">http://forum.script-coding.com/viewtopi … 90#p124790</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=124793#p124793">http://forum.script-coding.com/viewtopi … 93#p124793</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=125216#p125216">http://forum.script-coding.com/viewtopi … 16#p125216</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=125345#p125345">http://forum.script-coding.com/viewtopi … 45#p125345</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=125348#p125348">http://forum.script-coding.com/viewtopi … 48#p125348</a>;<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=120033#p120033">http://forum.script-coding.com/viewtopi … 33#p120033</a>.</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2018-05-14T14:27:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125353#p125353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125349#p125349" />
			<content type="html"><![CDATA[<p>xlDuplicate — это константа, нужно найти и подставить её значение. В макросах скорее всего это происходит автоматически по названию, в AHK, естественно, нет.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-05-14T09:22:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125349#p125349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125348#p125348" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Я так понял, что xlDuplicate это функция.</p><p>Через макрос все работает.<br /></p><div class="codebox"><pre><code>Sub sdsd()
Range(&quot;A:A&quot;).Select
 Selection.FormatConditions.AddUniqueValues
    Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
    Selection.FormatConditions(1).DupeUnique = xlDuplicate
    With Selection.FormatConditions(1).Font
        .Color = -16383844
       End With

End Sub</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-05-14T09:18:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125348#p125348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125347#p125347" />
			<content type="html"><![CDATA[<p>В вашем коде нигде нет присвоения значения переменной xlDuplicate, чему она равна?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-05-14T09:12:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125347#p125347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125345#p125345" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong> И так я тоже побывал, но error на этой строке &quot;Несовпадение типов.</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-05-14T05:24:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125345#p125345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125334#p125334" />
			<content type="html"><![CDATA[<p>Присваивание выполняется через &quot;:=&quot;.<br /></p><div class="codebox"><pre><code>double.FormatConditions(1).DupeUnique := xlDuplicate</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-05-13T22:24:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125334#p125334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Excel com. FormatConditions]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125327#p125327" />
			<content type="html"><![CDATA[<p>Добрый вечер! Что я делаю не так? Условное форматирование работает, но только отображаются уникальные, а не повторяющиеся значения.</p><div class="codebox"><pre><code>double := Xl.Range(&quot;A:A&quot;)
double.FormatConditions.Delete
double.FormatConditions.AddUniqueValues
double.FormatConditions(1).DupeUnique = xlDuplicate
double.FormatConditions(1).Interior.Color := 9846525</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-05-13T19:17:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125327#p125327</id>
		</entry>
</feed>
