<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; как обрабатывать элементы содержимого ячеек таблицы на Web странице?]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=7543&amp;type=atom" />
	<updated>2012-09-08T18:02:12Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=7543</id>
		<entry>
			<title type="html"><![CDATA[как обрабатывать элементы содержимого ячеек таблицы на Web странице?]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=63664#p63664" />
			<content type="html"><![CDATA[<p>Уважаемые форумчане!<br />подскажите, пожалуйста: как с помощью VBA Excell корректно обрабатывать различные элементы содержимого ячеек таблицы, расположенной на Web странице?</p><p>примерный фрагмент кода:<br />Set oIE = CreateObject(&quot;internetexplorer.application&quot;)<br />oIE.Navigate LINK<br />Do While oIE.ReadyState &lt;&gt; 4: loop<br />COUNT = oIE.Document.forms(1).all.tags(&quot;table&quot;).Item(1).Rows(1).Cells(1).all.Length</p><p>‘при выполнении, программа показывает, что COUNT =7&nbsp; - т.е. насколько я понимаю, в данной ячейке должно быть 7 элементов</p><p>Далее, мне необходимо считать значение<strong> элемента &quot;output__compensation&quot;, </strong>который находится в данной ячейке (см. HTML код)<br /><strong>Но я не знаю, как правильно указать ссылку на данный элемент ячейки</strong></p><p>HTML код данной ячейки следующий:<br />&lt;td class=&quot;b-userlist-table-compensation&quot;&gt;&lt;div class=&quot;b-userlist-table-compensation-block&quot;&gt;&lt;span class=&quot;output__compensation&quot;&gt;6 500 &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;b-userlist-table-photo&quot; onclick=&quot;return {types: [&#039;{HHGallery2}.Gallery&#039;]}&quot; id=&quot;rndCompId76ec35ecbca7900e&quot;&gt;&lt;div onclick=&quot;return {params: {id: &#039;&#039;}}&quot; class=&quot;Gallery2-Item&quot;&gt;&lt;a title=&quot;&quot; class=&quot;Gallery2-Item-Link&quot; href=&quot;/photo/395489872.jpeg?t=1347211821&amp;amp;s=775b970b19d406a824b707370aaee&quot;&gt;&lt;img class=&quot;Gallery2-Item-Thumb&quot; src=&quot;/photo/395489874.jpeg?t=1347211821&amp;amp;s=9f1ae0b288663b225eb80a51e3376946&quot; /&gt;[/url]&lt;/div&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;jsx.require([&#039;Components&#039;], function(){jsx.Components.createComponents([document.getElementById(&#039;rndCompId76ec35ecbca7900e&#039;)])});&lt;/script&gt;&lt;/td&gt;</p><p><strong>Заранее большое спасибо за помощь</strong></p>]]></content>
			<author>
				<name><![CDATA[htf]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27989</uri>
			</author>
			<updated>2012-09-08T18:02:12Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=63664#p63664</id>
		</entry>
</feed>
