|
-
Jan 16th, 2005, 06:41 AM
#1
Thread Starter
Lively Member
system.windows.documents not working
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|