<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QUIK -> DDE &mdash; получение значения из экселя]]></title>
		<link>https://quik2dde.ru/viewtopic.php?id=213</link>
		<atom:link href="https://quik2dde.ru/extern.php?action=feed&amp;tid=213&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «получение значения из экселя».]]></description>
		<lastBuildDate>Fri, 17 Feb 2017 06:37:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: получение значения из экселя]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=2092#p2092</link>
			<description><![CDATA[<p>Делаем по аналогии как здесь<br />[url]https://quik2dde.ru/viewtopic.php?id=81[/url]</p><div class="codebox"><pre><code>require &quot;luacom&quot;

message(&quot;Start&quot;)
excel = luacom.GetObject(&quot;Excel.Application&quot;)
message(&quot;Start1&quot;)
if excel ~= nil then
    sheets = excel.Worksheets
    sheet1 = sheets:Item(1)
    A1 = sheet1.Cells(1,1).Value2
    B1 = sheet1.Cells(1,2).Value2
    message(&quot;A1=&quot; .. tostring(A1) .. &quot; B1=&quot; .. tostring(B1))
else
    message(&quot;Excel nil&quot;)
end</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (swerg)]]></author>
			<pubDate>Fri, 17 Feb 2017 06:37:38 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=2092#p2092</guid>
		</item>
		<item>
			<title><![CDATA[получение значения из экселя]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=2090#p2090</link>
			<description><![CDATA[<p>Здраствуйте,поскажите как можно переделать этот код,чтобы значение цены и объема бралось из ячейки экселя ,например,из ячейки А1 и B1 ?</p><div class="codebox"><pre><code>t = {

            [&quot;CLASSCODE&quot;]=&quot;SPBFUT&quot;,

            [&quot;SECCODE&quot;]=&quot;SiH7&quot;,

            [&quot;ACTION&quot;]=&quot;NEW_ORDER&quot;,

            [&quot;ACCOUNT&quot;]=&quot;4110H2C&quot;,

            [&quot;CLIENT_CODE&quot;]=&quot;51111&quot;,

            [&quot;TYPE&quot;]=&quot;L&quot;,

            [&quot;OPERATION&quot;]=&quot;B&quot;,

            [&quot;QUANTITY&quot;]=&quot;1&quot;,

            [&quot;PRICE&quot;]=&quot;57800&quot;,

            [&quot;TRANS_ID&quot;]=&quot;1&quot;

      }

res=sendTransaction(t)

message(res,1)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sa920)]]></author>
			<pubDate>Thu, 16 Feb 2017 12:50:07 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=2090#p2090</guid>
		</item>
	</channel>
</rss>
