Hi Greg,
Thanks for your time and efford.
It really is so much different from the pieces of code I know in Excel VBA, there is not much I can easily understand.
But your code got me thinking, it all goes wrong when this line comes in:
The .body causes the mail template to get messed up.
So I googled for "vba outlook insert text at cursor" wich brought me to several functions but this piece of code gave me some insight:
Next I did some tests and this seems to be working.
So how do I implement these 2 pieces of code. I came up with this, but obviously it does not work;
It is the red part what does not work, Iknow I use it wrong but have you got a clue how to write the code correct?
Bookmarks