-
i need to press a button within my application that opens up outlook and populates the email address:,subject,and a standard letter with the information that i have within my VB application
so all i need to do with outlook is manually click on the send button i have never done automation before im still learning i greatly except all ideas
thanx
john
-
For the following example, add 3 textboxes and a command button. In the command button add the following:
Code:
Set out = CreateObject("outlook.application")
Set myitem = out.CreateItem(0)
myitem.Recipients.Add Text1.Text
myitem.Subject = Text2.Text
myitem.Body = Text3.Text
myitem.Display
If you need anything else, please let me know.