<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBA: Добавить событие в календарь Outlook]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5514</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5514&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBA: Добавить событие в календарь Outlook».]]></description>
		<lastBuildDate>Tue, 15 Feb 2011 09:23:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45168#p45168</link>
			<description><![CDATA[<p>А не, это я окном ошибся, вот в такую ошибку упираюсь.<br />---------------------------<br />Microsoft Visual Basic<br />---------------------------<br />Compile error:</p><p>User-defined type not defined<br />---------------------------<br />ОК&nbsp; &nbsp;Справка&nbsp; &nbsp;<br />---------------------------</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Tue, 15 Feb 2011 09:23:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45168#p45168</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45167#p45167</link>
			<description><![CDATA[<p>Во, супер, а я ходил все вокруг, да около)</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Tue, 15 Feb 2011 09:21:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45167#p45167</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45164#p45164</link>
			<description><![CDATA[<p>Наподобие:<br /></p><div class="codebox"><pre><code>Dim objOutlook As New Outlook.Application

Set myItem = objOutlook.CreateItem(1) &#039;Create an appointment
…</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Tue, 15 Feb 2011 08:48:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45164#p45164</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45163#p45163</link>
			<description><![CDATA[<p>Конечно прошу прощения, но можно на пальцах)<br /></p><div class="codebox"><pre><code>Sub test2()
Set myItem = Application.CreateItem(1) &#039;Create an appointment
    myItem.MeetingStatus = 1 &#039;Appointment is a meeting
    myItem.Subject = &quot;Marketing Strategy Meeting&quot;
    myItem.Location = &quot;Conference Room B&quot;
    myItem.Start = #2/14/2011 6:30:00 PM#
    myItem.Duration = 90
    MyAttendee = InputBox(&quot;Enter name of Required Attendee&quot;)
    If MyAttendee &lt;&gt; &quot;&quot; Then
        Set myRequiredAttendee = myItem.Recipients.Add(MyAttendee)
        myRequiredAttendee.Type = 1 &#039;Required
    End If
    MyAttendee = InputBox(&quot;Enter name of Optional Attendee&quot;)
    If MyAttendee &lt;&gt; &quot;&quot; Then
        Set myOptionalAttendee = myItem.Recipients.Add(MyAttendee)
        myOptionalAttendee.Type = 2 &#039;Optional
    End If
    myItem.Send
End Sub</code></pre></div><p>Вот этот код сейчас работает в Outlook, но не работает в Excel. Как я понимаю<br /></p><div class="codebox"><pre><code>Set myItem = Application.CreateItem(1) &#039;Create an appointment</code></pre></div><p>тут я должен создать ссылку на объект оутлука?</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Tue, 15 Feb 2011 07:21:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45163#p45163</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45162#p45162</link>
			<description><![CDATA[<p>Либо поздним связыванием:<br /></p><div class="codebox"><pre><code>Set objOutlook = WScript.CreateObject(&quot;Outlook.Application&quot;)</code></pre></div><p>либо ранним, установив ссылку на «Microsoft Outlook XXX Object Library», и объявив переменную:<br /></p><div class="codebox"><pre><code>Dim objOutlook As Outlook.Application</code></pre></div><p>Для VBA раннее связывание удобнее для программирования.</p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Tue, 15 Feb 2011 07:07:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45162#p45162</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45159#p45159</link>
			<description><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p><span style="color: Green"><strong>Ganzales</strong>, ну Вам-то напоминать про необходимость оформления ссылок тэгами <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />… Я оформил.</span></p></blockquote></div><p>Спасибо огромное)) Испарвлюсь)</p><p>Вобщем нашел вот такой пример создания совещания:</p><div class="quotebox"><blockquote><p>Sub test2()<br />Set myItem = Application.CreateItem(1) &#039;Create an appointment<br />&nbsp; &nbsp; myItem.MeetingStatus = 1 &#039;Appointment is a meeting<br />&nbsp; &nbsp; myItem.Subject = &quot;Marketing Strategy Meeting&quot;<br />&nbsp; &nbsp; myItem.Location = &quot;Conference Room B&quot;<br />&nbsp; &nbsp; myItem.Start = #2/14/2011 6:30:00 PM#<br />&nbsp; &nbsp; myItem.Duration = 90<br />&nbsp; &nbsp; MyAttendee = InputBox(&quot;Enter name of Required Attendee&quot;)<br />&nbsp; &nbsp; If MyAttendee &lt;&gt; &quot;&quot; Then<br />&nbsp; &nbsp; &nbsp; &nbsp; Set myRequiredAttendee = myItem.Recipients.Add(MyAttendee)<br />&nbsp; &nbsp; &nbsp; &nbsp; myRequiredAttendee.Type = 1 &#039;Required<br />&nbsp; &nbsp; End If<br />&nbsp; &nbsp; MyAttendee = InputBox(&quot;Enter name of Optional Attendee&quot;)<br />&nbsp; &nbsp; If MyAttendee &lt;&gt; &quot;&quot; Then<br />&nbsp; &nbsp; &nbsp; &nbsp; Set myOptionalAttendee = myItem.Recipients.Add(MyAttendee)<br />&nbsp; &nbsp; &nbsp; &nbsp; myOptionalAttendee.Type = 2 &#039;Optional<br />&nbsp; &nbsp; End If<br />&nbsp; &nbsp; myItem.Send<br />End Sub</p></blockquote></div><p>Есть знатоки VBA, как обратиться к объекту оутлука из екселя?</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Tue, 15 Feb 2011 06:38:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45159#p45159</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45148#p45148</link>
			<description><![CDATA[<p><span style="color: Green"><strong>Ganzales</strong>, ну Вам-то напоминать про необходимость оформления ссылок тэгами <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />… Я оформил.</span></p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Mon, 14 Feb 2011 15:31:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45148#p45148</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45144#p45144</link>
			<description><![CDATA[<p>Вот нашел такую статью: <a href="http://www.askit.ru/custom/vba_office/m13/13_06_outlook_items_objects.htm">Работа с сообщениями и контактами из VBA - AskIt.RU</a></p><p>Не вижу только объекта для элемента &quot;Событие&quot;, есть для Встречи, в принципе можно организовать через него, но много чего лишнего получиться.</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Mon, 14 Feb 2011 14:34:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45144#p45144</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45143#p45143</link>
			<description><![CDATA[<p>Ну хотелось бы обойтись стредствами VBA, написать некий макрос, который будет забивать события из Excel документа.</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Mon, 14 Feb 2011 13:54:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45143#p45143</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45142#p45142</link>
			<description><![CDATA[<p><span style="color: green"><strong>Ganzales</strong>, какой язык?</span></p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Mon, 14 Feb 2011 13:36:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45142#p45142</guid>
		</item>
		<item>
			<title><![CDATA[VBA: Добавить событие в календарь Outlook]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=45141#p45141</link>
			<description><![CDATA[<p>Кто нибудь задавался таким вопросом. Есть ли такая возможность?</p>]]></description>
			<author><![CDATA[null@example.com (Ganzales)]]></author>
			<pubDate>Mon, 14 Feb 2011 13:13:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=45141#p45141</guid>
		</item>
	</channel>
</rss>
