<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Чтение из таблицы Word]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7559&amp;type=atom" />
	<updated>2012-09-16T11:20:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7559</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63904#p63904" />
			<content type="html"><![CDATA[<p>Вы правы, перебрать книги не удалось</p>]]></content>
			<author>
				<name><![CDATA[gts]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28603</uri>
			</author>
			<updated>2012-09-16T11:20:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63904#p63904</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63902#p63902" />
			<content type="html"><![CDATA[<p><strong>gts</strong>, я не случайно говорил вынести вопрос в отдельную тему. Не всё так просто: Вы можете перебрать только рабочие книги внутри <em>созданного</em> экземпляра Excel.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-09-16T11:04:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63902#p63902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63901#p63901" />
			<content type="html"><![CDATA[<p>Большое спасибо за ответ. Из него понятно, как организовать доступ к Workbooks, так что перебрать открытые книги попробую сама.</p>]]></content>
			<author>
				<name><![CDATA[gts]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28603</uri>
			</author>
			<updated>2012-09-16T10:21:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63901#p63901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63900#p63900" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>gts пишет:</cite><blockquote><p>Я тоже интересуюсь, но для Excel.</p></blockquote></div><div class="quotebox"><cite>The Portable Script Center пишет:</cite><blockquote><p><strong>Read an Excel Spreadsheet</strong><br /></p><div class="codebox"><pre><code>Set objExcel = CreateObject(&quot;Excel.Application&quot;)
Set objWorkbook = objExcel.Workbooks.Open _
    (&quot;C:\Scripts\New_users.xls&quot;)

intRow = 2

Do Until objExcel.Cells(intRow,1).Value = &quot;&quot;
    Wscript.Echo &quot;CN: &quot; &amp; objExcel.Cells(intRow, 1).Value
    Wscript.Echo &quot;sAMAccountName: &quot; &amp; objExcel.Cells(intRow, 2).Value
    Wscript.Echo &quot;GivenName: &quot; &amp; objExcel.Cells(intRow, 3).Value
    Wscript.Echo &quot;LastName: &quot; &amp; objExcel.Cells(intRow, 4).Value
    intRow = intRow + 1
Loop

objExcel.Quit</code></pre></div></blockquote></div><div class="quotebox"><cite>gts пишет:</cite><blockquote><p>И еще хочу узнать, как определить, открыта ли соответствующая книга, не применяя &quot;On Error&quot;.</p></blockquote></div><p><span style="color: Green">Один вопрос — одна тема.</span></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-09-16T10:14:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63900#p63900</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63895#p63895" />
			<content type="html"><![CDATA[<p>Наверное, Вы хотели организовать доступ к данным ячейки таблицы документа Word из скрипта? Я тоже интересуюсь, но для Excel. И еще хочу узнать, как определить, открыта ли соответствующая книга, не применяя &quot;On Error&quot;.</p>]]></content>
			<author>
				<name><![CDATA[gts]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28603</uri>
			</author>
			<updated>2012-09-16T08:19:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63895#p63895</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63785#p63785" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>MsgBox ThisDocument.Tables.Item(1).Cell(2, 3).Range.Text</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2012-09-12T09:15:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63785#p63785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Чтение из таблицы Word]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=63784#p63784" />
			<content type="html"><![CDATA[<p>Здравствуйте, подскажите, пожалуйста, как считать значение из определенной ячейки таблицы Microsoft Word? Поиск по форуму не дал результата. Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[sanchezzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25814</uri>
			</author>
			<updated>2012-09-12T09:04:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=63784#p63784</id>
		</entry>
</feed>
