Ik wil een form versturen (Outlook) dmv radiobuttons.
Sub Item_Send()
If OptionButton1.Value = True then
RecipientControl1.value = "John@Hotmail.Com"
item.Send
End if
If OptionButton2.Value = True then
RecipientControl1.value = "Mark@Hotmail.Com"
item.Send
End if
End Sub
maar ik krijg de volgende foutmelding:
(There must be least one name or distribution list in the To, CC or Bcc box)
Weet iemand hoe ik dit kan oplossen?
Sub Item_Send()
If OptionButton1.Value = True then
RecipientControl1.value = "John@Hotmail.Com"
item.Send
End if
If OptionButton2.Value = True then
RecipientControl1.value = "Mark@Hotmail.Com"
item.Send
End if
End Sub
maar ik krijg de volgende foutmelding:
(There must be least one name or distribution list in the To, CC or Bcc box)
Weet iemand hoe ik dit kan oplossen?