Hello all
I'm trying to modify this part of the code:
Code:'Set OLRecipient = OLNameSpace.CreateRecipient("[email protected]")
Instead of putting the email in the code, i would like to use a text1 where i can put a custom address, directly in my Form4.email_le_vignoble.Text.
how can i do that?
I have tried like this:
Code:Set OLRecipient = OLNameSpace.CreateRecipient.Form4.email_le_vignoble.Text
But i have the compile error " Argument not Optional"
Thanks again
Thanks again for your help




Reply With Quote