Hallo,
I'm trying to acces the DataSource via
Code:
Doc.MailMerge.DataSource.DataFields(INDEX/FIELDNAME).Value
usually this is no problem, but in case of two fields i get an error stating that the memory is corrupt/ or an Automation error!
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