hi

i am trying to run an example that i copied from msdn

this example

Dim docNew As document

docNew = Documents.Add

With docNew.MailMerge
.MainDocumentType = wdFormLetters
.OpenDataSource( _
Name:="C:\Program Files\Microsoft Office" & _
"\Office\Samples\Northwind.mdb", _
LinkToSource:=True, AddToRecentFiles:=False, _
Connection:="TABLE Orders")
End With

but i get a error that "document" is not declared
i tried to import namespace system.windows.documents but i havent got it

where can i find that namespace?