Home |
Search |
Today's Posts |
#1
|
|||
|
|||
documentproperty's disapeare when merging
Hello,
I am using Word to perform a mailmerge. BUT: I also use some documentproperty fields in my document. I update these with the App_MailMergeBeforeRecordMerge event. But in my result there are NO documentproperty fields!! I can live with a conversion to plain tekst, but the field are'nt updated either. The code: Private Sub App_MailMergeBeforeRecordMerge(ByVal Doc As Document, Cancel As Boolean) ActiveDocument.CustomDocumentProperties("omschrijv ing").Value = omschrijving ActiveDocument.CustomDocumentProperties("status"). Value = status ActiveDocument.CustomDocumentProperties("account") .Value = account ActiveDocument.CustomDocumentProperties("id").Valu e = id end sub when i debug the variables are all filled in. Can someone please help!? -- With kind regards, Eric van der Niet Consultant www.RealData.nl www.NoteTaker.nl |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to prevent Word from merging tables? | Tables | |||
Mass Merging | Mailmerge | |||
How do keep blank lines when merging a document with the data and. | Mailmerge | |||
merging numbers in Word | Mailmerge | |||
label merging | Mailmerge |