<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Поиск первой пустой ячейки]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13827&amp;type=atom" />
	<updated>2018-06-07T16:25:13Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13827</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125871#p125871" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-06-07T16:25:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125871#p125871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125870#p125870" />
			<content type="html"><![CDATA[<p>Так подставьте эту цифру в объект Cells:<br /></p><div class="codebox"><pre><code>XLSht := oExcel.ActiveSheet
oCells := XLSht.Cells

lastEmpty := oCells.(XLSht.Rows.Count, &quot;A&quot;).End(xlUp := -4162).Row + 1
oCells.(lastEmpty, &quot;A&quot;).Select</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-06-07T16:17:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125870#p125870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125869#p125869" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Первая пустая ячейка!</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-06-07T16:06:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125869#p125869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125868#p125868" />
			<content type="html"><![CDATA[<p>Так у вас в переменной aa просто цифра, что должно выделяться?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-06-07T16:04:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125868#p125868</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125867#p125867" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Спасибо</p><p>Это работает:<br /></p><div class="codebox"><pre><code>aa := xl.ActiveSheet.Cells(xl.ActiveSheet.Rows.count, &quot;A&quot;).end(xlup := -4162).row + 1
msgbox % aa</code></pre></div><br /><p>А почему то не выделяет:<br /></p><div class="codebox"><pre><code>aa := xl.ActiveSheet.Cells(xl.ActiveSheet.Rows.count, &quot;A&quot;).end(xlup := -4162).row + 1
aa.select</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-06-07T15:56:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125867#p125867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125866#p125866" />
			<content type="html"><![CDATA[<p>Наверно, имеете в виду следующую после последней непустой? Если &quot;узнать&quot;, это номер ряда, то так:<br /></p><div class="codebox"><pre><code>XLSht := oExcel.ActiveSheet
rng := XLSht.Cells(XLSht.Rows.count, &quot;A&quot;)
MsgBox, % rng.end(xlup := -4162).row + 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-06-07T15:21:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125866#p125866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125865#p125865" />
			<content type="html"><![CDATA[<p>Хочу узнать первую пустую ячейку в столбце <a href="https://ibb.co/nJaCv8">https://ibb.co/nJaCv8</a> !</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-06-07T14:43:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125865#p125865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125864#p125864" />
			<content type="html"><![CDATA[<p>Непонятно, как связан Rows.Count и ваш вопрос. Как пустота ячейки зависит от количества рядов? Пустой может быть и самая первая ячейка. Уточните, что именно вы хотите узнать, а лучше покажите скриншот.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-06-07T14:19:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125864#p125864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Поиск первой пустой ячейки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125863#p125863" />
			<content type="html"><![CDATA[<p>Добрый день! Никак не получается найти первую пустую ячейку столбца?</p><div class="codebox"><pre><code>xl.ActiveSheet.UsedRange.Rows.Count +1</code></pre></div><p>&nbsp; - это не подходит</p><div class="codebox"><pre><code>xl.Cells(xl.Rows.Count, *).End(xlUp := -4162).Offset(*, *)</code></pre></div><p> - это не подходит</p><div class="codebox"><pre><code>end := xl.Cells(2, 6).End(xlDown := -4121).Select</code></pre></div><p>. Как к этому значению добавить +1</p><p>Заранее спасибо!</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2018-06-07T13:45:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125863#p125863</id>
		</entry>
</feed>
