![]() |
|
|
Thread Tools | Display Modes |
#2
|
|||
|
|||
![]() Quote:
I'm not sure what you mean by each day of birth 1 through 9. One through 7 I would understand, meaning days of the week. One through 31, day within a month. If you're only inserting a few variables into an otherwise standard report, then I suggest you consider using a mail merge. You would put your variables (the stuff that will be customized with each document) into a table in an Excel spreadsheet. Then you'd use Word's mail merge setup to insert fields into your existing document where those details will be inserted. There are some good Word mail merge tutorials on YouTube; most will be showing you how to merge for the purpose of multiple short items like form letters or invoices, but you can use the same technique for one. Other methods could include using document fields within Word to help you insert the same information over and over (for example, if you wanted to repeat the subject's first name over and over again) but get a little clunky to insert a handful of different variables, then change them for the next use. I mentioned some of this in this other answer on this forum, including some links to some videos and reference docs : https://www.msofficeforums.com/165252-post2.html If you are really talking about inserting or not inserting whole sections into your document based on date of birth criteria, then you might want to look into keeping each section in a separate Word file and merge them. You could then write macros/VBA that would insert segments 1, 4, 7, 11. This shows a simple way of doing the combining: https://www.youtube.com/watch?v=zLNlRlvaU2w I'm not sure whether you are talking about having one of nine different basic document types, or whether each document gets highly customized and personalized. Best, Ann |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
speed up macro to Highlight Phrases in document based on list input from text file | Gontch | Word VBA | 2 | 01-21-2021 11:08 AM |
How to record document creation? | Evil Overlord | Word VBA | 2 | 12-02-2018 04:55 PM |
Document creation with pre-defined text | scar1 | Word | 5 | 03-08-2017 12:08 PM |
![]() |
Caerleon | Word | 1 | 09-11-2015 07:42 PM |
![]() |
Privateer | Word | 3 | 06-20-2013 08:15 PM |