Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Outlook Macro Send Email

 
   Home -> Office -> Programming VBA RSS
Next:  Programming VBA: Need simple macro to change font and color  
Author Message
DKY




Joined: Jun 18, 2008
Posts: 1



(Msg. 1) Posted: Wed Jun 18, 2008 12:44 pm
Post subject: Outlook Macro Send Email

I'm sure that this is just one line of code but I can't figure it out. I have a macro that plugs in text to my email and I would like for it to send when it's done. How do I get it to do that?

Code:
Sub PDCINQ()
Set objDoc = Application.ActiveInspector.WordEditor
Set objSel = objDoc.Windows(1).Selection
objSel.TypeText Text:="," & vbCrLf & "Please provide service cost for the subject part number."
End Sub
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]