If the Properties dialog for the form says the name (not the caption) of the button is Submit, this will send the item where the code is running:
Sub Submit_Click()
Item.Send
End Sub
If you already have code in this procedure, please post it. If you can't tell whether it's running or not, add this statement:
MsgBox "I am running"
to the Submit_Click procedure, increment the version number on the (Properties) tab, republish the form, and try it again with a new item. If it does not work then, please provide information on where the form is published and your Outlook version.
The code you cited in your message connects the message to a custom form named IPM.Note.CapitalMarketsIntranetInformation when the item is sent.
Please take the time to quote the original message manually so that people reading your current response can understand what you're talking about. Otherwise, you may not receive the answer you're looking for.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at
http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers