<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Check data_Excel]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14572&amp;type=atom" />
	<updated>2019-02-13T13:06:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14572</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Check data_Excel]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132171#p132171" />
			<content type="html"><![CDATA[<p>Смотрите:<br /></p><div class="codebox"><pre><code>MsgBox, % &quot;13.02.2019&quot; &gt; &quot;13.01.2019&quot;
MsgBox, % &quot;13.02.2020&quot; &gt; &quot;13.03.2019&quot;</code></pre></div><p>Может, натолкнёт на какие-то мысли?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-02-13T13:06:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132171#p132171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Check data_Excel]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132169#p132169" />
			<content type="html"><![CDATA[<p>Добрый день! Подскажите пож-та, имеются ячейки с датой, формата дд.ММ.гггг . Если текущая ячейка имеет дату раньше 20.10.2017, то Msgbox, но почему то он срабатывает только на дд . Заранее спасибо!</p><div class="codebox"><pre><code>

Path = %A_Desktop%/*.xlsx
Xl := ComObjCreate(&quot;Excel.Application&quot;)
Xl.Workbooks.Open(Path) ;выбрать файл для проверки
Xl.Visible := True

loop 10 {

FormatTime, TimeString, 20171020, dd.MM.yyyy
var := Xl.cells(A_Index + 1,1).value 
	IF (var &gt; timestring) {
		MsgBox % var
	}

}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-02-13T12:32:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132169#p132169</id>
		</entry>
</feed>
