Private Sub Command2_Click()
Dim olApp As Outlook.Application
Dim olMsg As MailItem
Dim strTo As String
Set olApp = New Outlook.Application
Set olMsg = olApp.GetNamespace("MAPI").GetDefaultFolder(olFolderDrafts).Items.Add(Outlook.olMailItem)
[COLOR=green]'me.Text0 is the control that is determining the recipient[/color]
Select Case Me.Text0
Case Is < 500
strTo = "mickey_mouse@disney.com"
Case 500 To 999
strTo = "donald_duck@disney.com"
Case Else
strTo = "uncle_bill@microsoft.com"
End Select
olMsg.To = strTo
olMsg.Subject = "Subject"
olMsg.HTMLBody = "Enter Message here " & "<p>" & _
"Second line of message" & "<p>" & _
"Third line of message"
olMsg.Save 'Save message to defaulter folder
[COLOR=green]'olMsg.Send 'Send message now[/color]
Set olMsg = Nothing
Set olApp = Nothing
End Sub