![]() |
|
#4
|
||||
|
||||
|
I suspect the error message is occurring because you're using an Excel data source and it has 'used' rows below the last data row. You could probably prevent the error by inserting:
If Trim(.DataFields("FieldName")) = "" Then Exit For after: .ActiveRecord = i where 'FieldName' is the name of any field in the data source that should never be empty.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Align Mail Merged Numbers to the Decimal Point
|
HangMan | Mail Merge | 1 | 12-11-2013 02:32 PM |
| Insert Text between Mail Merged Items | kawirider88 | Mail Merge | 1 | 09-29-2013 06:55 PM |
| saving a mail merged document after the user edits it. | kosh2 | Mail Merge | 0 | 08-05-2011 03:35 AM |
Overlapping text once mail merged
|
Spartan300 | Mail Merge | 6 | 10-13-2010 06:14 PM |
No toggle b/w 2 accounts; mail merged in 1 inbox
|
Windwardman | Outlook | 1 | 06-09-2010 09:25 AM |