After working almost the whole Xmas day 25th December 2024 to make sure that access is able to send an email from its own form. This process is now working okay though very length .
Last issue requiring your help is on attachment for an external document, here I'm using the actual path of the required document which is very cumbersome, is there a way where by VBA will allow a pop when clicking on attachment so that I can browse through the folder the same way we do it in outlook to select the required document?
The which require that is below , see attachment field:
See also form for reference
Last issue requiring your help is on attachment for an external document, here I'm using the actual path of the required document which is very cumbersome, is there a way where by VBA will allow a pop when clicking on attachment so that I can browse through the folder the same way we do it in outlook to select the required document?
The which require that is below , see attachment field:
Code:
With Newmail
.Sender = "nectorzambia@gmail.com"
.From = "Nector Prime Accounting Solutions"
.To = Me.SendTo
.Subject = Me.Subject
.TextBody = Me.Message
.AddAttachment Me.Attachment 'This is the field I need help to make it allow browsing the folders to select the required attachments
End With
See also form for reference