Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Outlook Newsgroups
Outlook VBA Programming
Sending outlook mail from excel using VBA
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Thirusivamani, post: 4876097"] Run-time error '287' The following programme throws an error "Application-defined or Object-defined error" at "Mail.Send" Can anyone help me to automate outlook from excel VBA. Dim olApp As New Outlook.Application Dim Mail As Outlook.MailItem Set olApp = New Outlook.Application Set Mail = olApp.CreateItem(olMailItem) Mail.subject = "test" Mail.To = "ATH020" Mail.body = "Hi guys! this is a test mail" Mail.display Mail.Send Set Mail = Nothing Set olApp = Nothing [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Outlook Newsgroups
Outlook VBA Programming
Sending outlook mail from excel using VBA
Top