Hello,
I have a Word2002 .dot I am creating that will create a letter using mail merge (source is an excel file). I have created portions of the letter (I'll call them paragraphs) that include if/then fields (not macros) to display text dependent on the contents of the field. I created bookmarks around each paragraph. I need to have paragraphs deleted if the record does not include that data type. For example:
Of the services we provide, client1 only engaged us to complete task 1, 5, and 7 (we put a y in those columns) so the bookmarks 2, 3, and 6 need to be deleted.
Each time we use the merge, we will be merging 100 or more clients, so we do not want to do this manually. I am just beginning using VBA (just bought the Absolute Beginner's Guide to VBA), so be gentle...
Any help is appreciated.
I have a Word2002 .dot I am creating that will create a letter using mail merge (source is an excel file). I have created portions of the letter (I'll call them paragraphs) that include if/then fields (not macros) to display text dependent on the contents of the field. I created bookmarks around each paragraph. I need to have paragraphs deleted if the record does not include that data type. For example:
Of the services we provide, client1 only engaged us to complete task 1, 5, and 7 (we put a y in those columns) so the bookmarks 2, 3, and 6 need to be deleted.
Each time we use the merge, we will be merging 100 or more clients, so we do not want to do this manually. I am just beginning using VBA (just bought the Absolute Beginner's Guide to VBA), so be gentle...
Any help is appreciated.