I always create the objects in the correct order?
Outlook object
outlook email
Any attachments
Send or display
So do not use myitem and use all the code within the With olApp.CreateItem block?
However still better to get the logic in order correctly? and understand it as well. Too many people just cobble code together with little clue as to how it works?![]()