Trevor3007
Well-known Member
- Joined
- Jan 26, 2017
- Messages
- 667
- Office Version
- 365
- Platform
- Windows
Hi,
Dont even know if this is possible/viable?
I currently use the VB below in outlook( basically, it opens a predefined template)
once ran, I then insert the 'recipient's first name into & in the body of the message after hi (for example Hi John,).
Is it possible that after i run the above code, enter the recipients email address, that thier first name can be automatically add into the body of the message, after "Hi and before the ","
I hope this makes sense & some VB god can sort for me?
Many thanks in advance.
Kind regards
Trevor
Dont even know if this is possible/viable?
I currently use the VB below in outlook( basically, it opens a predefined template)
VBA Code:
Sub MakeItem()
Set newItem = Application.CreateItemFromTemplate("C:\Users\user\Documents\newphones.oft")
newItem.Display
Set newItem = Nothing
End Sub
once ran, I then insert the 'recipient's first name into & in the body of the message after hi (for example Hi John,).
Is it possible that after i run the above code, enter the recipients email address, that thier first name can be automatically add into the body of the message, after "Hi and before the ","
I hope this makes sense & some VB god can sort for me?
Many thanks in advance.
Kind regards
Trevor