Thema Datum  Von Nutzer Rating
Antwort
15.01.2020 16:30:09 Nils
NotSolved
16.01.2020 00:01:14 xlKing
NotSolved
16.01.2020 00:31:17 xlKing
NotSolved
16.01.2020 00:59:57 Nils
NotSolved
16.01.2020 06:16:28 Mase
NotSolved
16.01.2020 11:23:02 Nils Finkeldei
NotSolved
16.01.2020 12:01:35 Mase
NotSolved
16.01.2020 12:09:39 Gast99781
NotSolved
16.01.2020 12:27:49 Nils
NotSolved
16.01.2020 12:26:47 Nils
NotSolved
16.01.2020 12:52:14 Mase
NotSolved
16.01.2020 12:58:10 Nils
NotSolved
16.01.2020 13:01:57 Mase
NotSolved
17.01.2020 12:51:59 Nils
NotSolved
17.01.2020 12:56:45 Mase
NotSolved
Blau Pfad und Name einer MSG-Datei
17.01.2020 12:58:46 Gast92861
NotSolved
17.01.2020 13:04:05 Nils
NotSolved
20.01.2020 15:06:57 Nils
NotSolved
21.01.2020 23:25:00 Nils
NotSolved
22.01.2020 11:27:28 Mase
NotSolved

Ansicht des Beitrags:
Von:
Gast92861
Datum:
17.01.2020 12:58:46
Views:
572
Rating: Antwort:
  Ja
Thema:
Pfad und Name einer MSG-Datei

Mit diesem Code habe ich bisher rumexperimentiert, um den Eintrag zu finden, in dem Dateiname und -pad der geöffneten MSG-Datei steht:

 

Sub speichern()
 Dim myinspector As Outlook.Inspector
 
 Dim myItem As Outlook.MailItem
 
 Dim myattachments As Outlook.Attachments
 
 Dim x As Integer
 
 Dim ausdruck As String
 
 
 
 Set myinspector = Application.ActiveInspector
 
 If Not TypeName(myinspector) = "Nothing" Then
 
 Set myItem = myinspector.CurrentItem
 
 x = myItem.ItemProperties.Count
 
 MsgBox (x)
 
 For y = 0 To x - 1
 
 'ausdruck = ausdruck & y & ":  " & myItem.ItemProperties(y).Value & Chr(13)
 
 Debug.Print myItem.ItemProperties(y).Name
 
 'MsgBox (ausdruck)
 
 Next y
 
 MsgBox (ausdruck)
 
 'Set myattachments = myItem.Attachments
 
 'While myattachments.Count > 0
 
 'myattachments.Remove 1
 
 'Wend
 
 'myItem.Display
 
 'myItem.Recipients.Add "Dan Wilson"
 
 'myItem.Send
 
 Else
 
 MsgBox "There is no active inspector."
 
 End If
End Sub

 


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
15.01.2020 16:30:09 Nils
NotSolved
16.01.2020 00:01:14 xlKing
NotSolved
16.01.2020 00:31:17 xlKing
NotSolved
16.01.2020 00:59:57 Nils
NotSolved
16.01.2020 06:16:28 Mase
NotSolved
16.01.2020 11:23:02 Nils Finkeldei
NotSolved
16.01.2020 12:01:35 Mase
NotSolved
16.01.2020 12:09:39 Gast99781
NotSolved
16.01.2020 12:27:49 Nils
NotSolved
16.01.2020 12:26:47 Nils
NotSolved
16.01.2020 12:52:14 Mase
NotSolved
16.01.2020 12:58:10 Nils
NotSolved
16.01.2020 13:01:57 Mase
NotSolved
17.01.2020 12:51:59 Nils
NotSolved
17.01.2020 12:56:45 Mase
NotSolved
Blau Pfad und Name einer MSG-Datei
17.01.2020 12:58:46 Gast92861
NotSolved
17.01.2020 13:04:05 Nils
NotSolved
20.01.2020 15:06:57 Nils
NotSolved
21.01.2020 23:25:00 Nils
NotSolved
22.01.2020 11:27:28 Mase
NotSolved