Hello!
I typed a mail merge document, and I wanted certain words to appear in the document according to data fetched in a field. I wrote a procedure which works fine in immediate window in vba editor but I have no idea how to fire it in the document. The Excel approach to write a custom function and then put it in a spreadsheet does not seem to work in Word (I haven't found the way to put a custom function in a document). I have not found the mail merge event that could trigger it either.
Any advice or help would me much appreciated.
Cheers !
xenonn
I typed a mail merge document, and I wanted certain words to appear in the document according to data fetched in a field. I wrote a procedure which works fine in immediate window in vba editor but I have no idea how to fire it in the document. The Excel approach to write a custom function and then put it in a spreadsheet does not seem to work in Word (I haven't found the way to put a custom function in a document). I have not found the mail merge event that could trigger it either.
Any advice or help would me much appreciated.
Cheers !
xenonn