J
jasper.nijkamp
Hi Guys (and Girls)
i wrote a macro that merges a document to a new one, but the problem
is that the date n subject disappear after the merge (in the new
document).
does anyone now how i can solve that?
My mergecode is:
With ActiveDocument
If .ProtectionType <> wdNoProtection Then .Unprotect
Password:=""
If ActiveDocument.MailMerge.State = wdMainAndDataSource Then
ActiveDocument.MailMerge.Execute
.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:=""
Thanks in advance
Jasper
i wrote a macro that merges a document to a new one, but the problem
is that the date n subject disappear after the merge (in the new
document).
does anyone now how i can solve that?
My mergecode is:
With ActiveDocument
If .ProtectionType <> wdNoProtection Then .Unprotect
Password:=""
If ActiveDocument.MailMerge.State = wdMainAndDataSource Then
ActiveDocument.MailMerge.Execute
.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:=""
Thanks in advance
Jasper