MS Outlook' da yeni bir klasor ...

Haluk

𐱅𐰇𐰼𐰚
Katılım
7 Temmuz 2004
Mesajlar
12,305
Excel Vers. ve Dili
64 Bit 2010 - İngilizce
+
Google Sheets
+
JScript
Altın Üyelik Bitiş Tarihi
Merhaba;

Herhangibir Office (Excel - Word - PP - Access ...) dokumanında, aşağıdaki VBA kodu ile MS Outlook' da Inbox (Gelenler) klasorunun altına yeni bir klasor olusturabilirsiniz.

Kod:
 Sub Test()
    Dim OutApp As Object
    Set OutApp = CreateObject("Outlook.Application")
    Set OutFolder = OutApp.GetNamespace("MAPI").GetDefaultFolder(6).Folders
    OutFolder.Add "MyNewFolder"
    Set OutFolder = Nothing
    Set OutApp = Nothing
End Sub
 
Üst