#1
|
|||
|
|||
Access MailMerge DataSource in VB
Hallo,
I'm trying to acces the DataSource via Code:
Doc.MailMerge.DataSource.DataFields(INDEX/FIELDNAME).Value I have no problems accessing the Name property via: Code:
Doc.MailMerge.DataSource.DataFields(INDEX/FIELDNAME).Name Any ideas what wrong with those two fields? p.s.: when running the merge ALL fields are populated correctly! Only accessing the fields via VBA is causing an error! regards, advin |
#2
|
|||
|
|||
Additional information
Here's the detailed error message:
"Runtimeerror '-2147417848 (80010108)': Automation error The called object was disconnected from the clients" <- i translated it on my own as i recieve a german error! any hints? |
Tags |
mailmerge, memory |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't mailmerge on downloaded word form | pilgrimist | Mail Merge | 0 | 12-18-2009 04:18 AM |
Problem With Formatting Mailmerge Fields | revans611 | Mail Merge | 0 | 05-31-2009 06:20 PM |
Changing DataSource | ntfirewall | Mail Merge | 0 | 03-30-2007 06:01 AM |
Mailmerge Formula | mridley | Mail Merge | 0 | 07-27-2006 03:16 AM |
Can Access access folders & sub-folders and dig out data? | nrg | Office | 4 | 06-20-2005 11:09 PM |