Skip to main content

Outlook - Betreff ändern

siehe Titel
Gelesen: 1628
So ändern Sie schnell den Betreff erhaltener Emails. Diese Variante benötigt den VBA-Code in Outlook. Dafür ist das Ändern der Betreffzeile wesentlich schneller als mit Microsoft-Boardmitteln.
 
Public Sub EditSubject()
  Dim obj As Object
  Dim Sel As Outlook.Selection
  Dim DoSave As Boolean
  Dim NewSubject As String
  
  If TypeOf Application.ActiveWindow Is Outlook.Inspector Then
    Set obj = Application.ActiveInspector.CurrentItem
  Else
    Set Sel = Application.ActiveExplorer.Selection
    If Sel.Count Then
      Set obj = Sel(1)
      DoSave = True
    End If
  End If
  If Not obj Is Nothing Then
    NewSubject = InputBox("Neuer Betreff:", , obj.Subject)
    If NewSubject <> "" Then
      obj.Subject = NewSubject
      If DoSave Then
        obj.Save
      End If
    End If
  End If
End Sub

Quelle: http://www.vboffice.net/de/developers/betreff-aendern/

Quelle: https://www.exchangekonto.ch
Artikel-ID: 20210901.4