D
DP Kelly
I've written a function in VBA to replace certain field values from a table
with specific strings of text. My problem is calling that function in my
document. I can find all kinds of help on writing a UDF, but how do I call
the UDF from the document, so the UDF will be called during my mail-merge?
And, of course, I need to pass the value of the field to the UDF.
("UDF" = User-Defined Function, for anyone who needs to know.)
with specific strings of text. My problem is calling that function in my
document. I can find all kinds of help on writing a UDF, but how do I call
the UDF from the document, so the UDF will be called during my mail-merge?
And, of course, I need to pass the value of the field to the UDF.
("UDF" = User-Defined Function, for anyone who needs to know.)