title: Accessing User Defined Fields in Outlook
body: <p>So, I have a custom email form/message like below and I want to access the "Doc Title:" field value to insert it into the body of the email.</p>
  
  <p>I currently have this code;</p>
  
  <pre><code>Function Item_Send()
      Item.Body = Item.Body + UserProperties.Find("TextBox1").Text
  End Function
  </code></pre>
  
  <p>And I've tried multiple variations of this, such as <code>Item.UserProperties.Find(...).Value</code>, <code>Find(...).Value</code> by itself, <code>UserProperties.Find("TextBox1", false).Text</code>, etc.</p>
  
  <p>Research;<br>
  <a href="https://www.google.com.au/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CC0QFjAA&amp;url=http://www.codeproject.com/Articles/427913/Using-User-Defined-Fields-in-Outlook&amp;ei=UXOVUeSGOISUiQfDrYHIDw&amp;usg=AFQjCNFBs-qLHqOZ0MTeNOv0efZjYhwNiA&amp;sig2=iJy7OIi4YYfSU14NOC3zhg&amp;bvm=bv.46471029,d.aGc&amp;cad=rja" rel="nofollow noreferrer">CodeProject</a><br>
  <a href="http://msdn.microsoft.com/en-us/library/office/ff863689.aspx" rel="nofollow noreferrer">MSDN Find Method Documentation</a><br>
  <a href="http://support.microsoft.com/kb/258256" rel="nofollow noreferrer">Microsoft Support - How to create an email message form</a><br>
  <a href="http://support.microsoft.com/kb/146636" rel="nofollow noreferrer">Microsoft Support - FAQ about custom outlook forms</a><br>
  <a href="http://support.microsoft.com/kb/185050" rel="nofollow noreferrer">Microsfot Support - Working with User Defined Fields</a></p>
  
  <p>I just can't seem to find a solution.<br>
  The posted code returns <code>Object requred: 'UserProperties.Find(...)'</code><br>
  If I add in <code>false</code> to the parameters I get; <code>Object doesn't support this property of method: 'UserProperties.Find'</code><br>
  Find by itself gives me <code>Type mismatch: 'Find'</code>  </p>
  
  <p>And that's all the error messages I can get to come up. Any help would be greatly appreciated. (I'm using the Script Editor button to write the above code, not the Visual Basic button).</p>
  
  <p><img src="https://i.stack.imgur.com/cuVzK.png" alt="enter image description here"></p>