B
Bjoern Wolfgardt
Hi NG,
I am a Office Newbee (okay I know something about Outlook and I am able to
write a letter with Word). I have to write a little tool that will open a
Word document and print it. I used c# to do this. It works like a charme for
every document except one. The document popps up a input box. So I tried to
find out what it is. I found out it is a FillIn Field and that FillIn Fields
are MailMerge Fields. I don't have any idea what a Mail Merge Field is. But
I found out where to look for the fields in my little app.
foreach(Microsoft.Office.Interop.Word.Field fld in WordDoc.Fields)
{
if(fld.Type == Microsoft.Office.Interop.Word.WdFieldType.wdFieldFillIn)
{
// found it so deactivate it
}
}
But this code never finds the field. There is no FillIn Field.
So where do I have to look for the field. The field is in the footnote of
page one. Is there a special footnote field collection or something else.
thx in advance
Bjoern
I am a Office Newbee (okay I know something about Outlook and I am able to
write a letter with Word). I have to write a little tool that will open a
Word document and print it. I used c# to do this. It works like a charme for
every document except one. The document popps up a input box. So I tried to
find out what it is. I found out it is a FillIn Field and that FillIn Fields
are MailMerge Fields. I don't have any idea what a Mail Merge Field is. But
I found out where to look for the fields in my little app.
foreach(Microsoft.Office.Interop.Word.Field fld in WordDoc.Fields)
{
if(fld.Type == Microsoft.Office.Interop.Word.WdFieldType.wdFieldFillIn)
{
// found it so deactivate it
}
}
But this code never finds the field. There is no FillIn Field.
So where do I have to look for the field. The field is in the footnote of
page one. Is there a special footnote field collection or something else.
thx in advance
Bjoern