Re: Save An Attachment To A Folder
[QUOTE=Mavyak]
Code
Option Explicit
Private WithEvents olInboxItems As Items
Private Sub Application_Startup()
Dim objNS As NameSpace
Set objNS = Application.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox)
Set myFolder = myFolder.Parent.Folders("My Folders")
Set myFolder = myFolder.Folders("Inbound Items")
Set myFolder = myFolder.Folders("Reports")
Set myFolder = myFolder.Folders("Daily Reports")
Set objNS = Nothing
End Sub
End Sub
Display More
This code goes in the ThisOutlookSession module....QUOTE]
OK I put the code in the This OutlookSesson module. It initiall errored on
I changed to
No loger get the error. However, nothing happens (Yes I did close and restart outlook)....