Im using the following
Function Item_Send()
Set myOLItem = Item
Set myPages = Item.GetInspector.ModifiedFormPages
myOLItem.Body ="[Client First Name]" + myPages("Message").Controls("Customerfirstname") + Chr(13) + _
"[Client Last Name]" + myPages("Message").Controls("Customerlastname") + Chr(13) + _
"[Payroll Number]" + myPages("Message").Controls("Users Payroll Number") + Chr(13) + _
"[Department]" + myPages("Message").Controls("Departmentdropdown")+ Chr(13) + _
"[Job Title]" + myPages("Message").Controls("Users Job Title")+ Chr(13) + _
"[Location]" + myPages("Message").Controls("Users Location")+ Chr(13) + _
"[Telephone]"+ myPages("Message").Controls("Users Telephone")+ Chr(13) + _
"[Similiar User]"+ myPages("Message").Controls("Similiar User")
"[Network Account]"+ myPages("Message").Controls("NetworkAccount")
"[Email Account]"+ myPages("Message").Controls("emailaccount")
End Function
but i keep getting expected statement on line 12 error, can anyone help?
Function Item_Send()
Set myOLItem = Item
Set myPages = Item.GetInspector.ModifiedFormPages
myOLItem.Body ="[Client First Name]" + myPages("Message").Controls("Customerfirstname") + Chr(13) + _
"[Client Last Name]" + myPages("Message").Controls("Customerlastname") + Chr(13) + _
"[Payroll Number]" + myPages("Message").Controls("Users Payroll Number") + Chr(13) + _
"[Department]" + myPages("Message").Controls("Departmentdropdown")+ Chr(13) + _
"[Job Title]" + myPages("Message").Controls("Users Job Title")+ Chr(13) + _
"[Location]" + myPages("Message").Controls("Users Location")+ Chr(13) + _
"[Telephone]"+ myPages("Message").Controls("Users Telephone")+ Chr(13) + _
"[Similiar User]"+ myPages("Message").Controls("Similiar User")
"[Network Account]"+ myPages("Message").Controls("NetworkAccount")
"[Email Account]"+ myPages("Message").Controls("emailaccount")
End Function
but i keep getting expected statement on line 12 error, can anyone help?