Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Outlook --> VBA --> Excel --> OleObjekt einfügen

Empfohlene Antworten

Hallo,

ich habe die Anforderung, dass ich eine EMail als Ole-Object in einer bestimmten Celle eines Bestimmten ExcelSheets einbinden soll. Wenn ich eine EMail auf Platte speichere und in Excel diese als OleObject einbinde funktioniert das einwandfrei.,

Wie kann ich dies nun in Outlook per vba machen?

Ich habe schon herausgefunden wie ich Mails per VBA selektiere

sSender = ActiveExplorer.Selection(i).SenderName

sSubject = ActiveExplorer.Selection(i).Subject
Ich habe auch schon herausgefunden wie ich mit VBA in Excel Inhalte hinzufüge
Set oSheet = CreateObject("Excel.Application")

oSheet.Workbooks.Open ("C:\Test.xls")

aktRow = oSheet.activeworkbook.Worksheets(2).Cells(2, 1)

oSheet.activeworkbook.Worksheets(2).Cells(2, 1) = aktRow + 1

With oSheet

    .activeworkbook.Worksheets(1).Cells(aktRow, 1) = [any Value]


    .activeworkbook.Save

    .Quit

End With
Wie bekomme ich nun die selektierte Email
ActiveExplorer.Selection(i)
als Ole in
oSheet.activeworkbook.Worksheets(1).Cells(1, 1)

Kann mir da jemand helfen??

Ps.: Hab zwar im Forum un iNet gesucht habe mir aber nichts rausziehen könne was mir geholfen hätte.

Danke

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.