<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VBA%2FExcel%2FAccess%2FWord%2FOutlook%2FEmail_Attachment</id>
		<title>VBA/Excel/Access/Word/Outlook/Email Attachment - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VBA%2FExcel%2FAccess%2FWord%2FOutlook%2FEmail_Attachment"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Outlook/Email_Attachment&amp;action=history"/>
		<updated>2026-04-06T02:50:25Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Outlook/Email_Attachment&amp;diff=1710&amp;oldid=prev</id>
		<title> в 16:33, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Outlook/Email_Attachment&amp;diff=1710&amp;oldid=prev"/>
				<updated>2010-05-26T16:33:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:33, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Outlook/Email_Attachment&amp;diff=1711&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Outlook/Email_Attachment&amp;diff=1711&amp;oldid=prev"/>
				<updated>2010-05-26T12:47:55Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Adding an Attachment to a Message==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Sub attach()&lt;br /&gt;
    Dim myMessage As MailItem&lt;br /&gt;
    Set myMessage = Application.CreateItem(ItemType:=olMailItem)&lt;br /&gt;
    myMessage.Attachments.Add _&lt;br /&gt;
        Source:=&amp;quot;C:\g.ppt&amp;quot;, _&lt;br /&gt;
        Position:=1, DisplayName:=&amp;quot;Downsizing Presentation&amp;quot;&lt;br /&gt;
End Sub&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Placing a PowerPoint Slide in an Outlook Message==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  Sub Notify_of_New_Presentation()&lt;br /&gt;
      Dim myPresentation As Presentation&lt;br /&gt;
      Dim strPresentationFilename As String&lt;br /&gt;
      Dim strPresentationTitle As String&lt;br /&gt;
      Dim strPresentationPresenter As String&lt;br /&gt;
      Dim myOutlook As Outlook.Application&lt;br /&gt;
      Dim myMessage As Outlook.MailItem&lt;br /&gt;
      Const errOutlookNotRunning = 429&lt;br /&gt;
      On Error GoTo ErrorHandler&lt;br /&gt;
      Set myPresentation = ActivePresentation&lt;br /&gt;
      With myPresentation&lt;br /&gt;
          strPresentationFilename = .FullName&lt;br /&gt;
          strPresentationTitle = _&lt;br /&gt;
              .Slides(1).Shapes(1).TextFrame.TextRange.Text&lt;br /&gt;
          strPresentationPresenter = _&lt;br /&gt;
              .Slides(1).Shapes(2).TextFrame.TextRange.Text&lt;br /&gt;
      End With&lt;br /&gt;
      Set myOutlook = GetObject(, &amp;quot;Outlook.Application&amp;quot;)&lt;br /&gt;
      Set myMessage = myOutlook.CreateItem(ItemType:=olMailItem)&lt;br /&gt;
      With myMessage&lt;br /&gt;
          .To = &amp;quot;your@your.ru&amp;quot;&lt;br /&gt;
          .CC = &amp;quot;Presentation Archive&amp;quot;&lt;br /&gt;
          .Subject = &amp;quot;Presentation for review: &amp;quot; &amp;amp; strPresentationTitle&lt;br /&gt;
          .BodyFormat = olFormatHTML&lt;br /&gt;
          .Body = &amp;quot;Please review the following presentation:&amp;quot; &amp;amp; _&lt;br /&gt;
              vbCr &amp;amp; vbCr &amp;amp; &amp;quot;Title: &amp;quot; &amp;amp; strPresentationTitle &amp;amp; vbCr &amp;amp; _&lt;br /&gt;
              &amp;quot;Presenter: &amp;quot; &amp;amp; strPresentationPresenter &amp;amp; vbCr &amp;amp; vbCr &amp;amp; _&lt;br /&gt;
              &amp;quot;The presentation is in the file: &amp;quot; &amp;amp; _&lt;br /&gt;
              strPresentationFilename&lt;br /&gt;
          .Send&lt;br /&gt;
      End With&lt;br /&gt;
      myOutlook.Quit&lt;br /&gt;
&lt;br /&gt;
      Set myMessage = Nothing&lt;br /&gt;
      Set myOutlook = Nothing&lt;br /&gt;
      Exit Sub&lt;br /&gt;
  ErrorHandler:&lt;br /&gt;
      If Err.Number = errOutlookNotRunning Then&lt;br /&gt;
          Set myOutlook = CreateObject(&amp;quot;Outlook.Application&amp;quot;)&lt;br /&gt;
          Err.Clear&lt;br /&gt;
          Resume Next&lt;br /&gt;
      Else&lt;br /&gt;
          MsgBox Err.Number &amp;amp; vbCr &amp;amp; Err.Description, vbOKOnly + _&lt;br /&gt;
              Critical, &amp;quot;An Error Has Occurred&amp;quot;&lt;br /&gt;
    End If&lt;br /&gt;
End Sub&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>