MailMerge Microsoft article problem

  • Thread starter Thread starter Alan T
  • Start date Start date
A

Alan T

I am working and tried to start and read an article from MS:
http://support.microsoft.com/kb/301659


I followed the step to add reference to my dummy application, Microsoft Word
11.0 Object Library.
Also add the - using Microsoft.Office.Interop.Word

At the beginning of the code from the article,
 
Sorry, I accidentally press the send button, here's the complete thread:

I am trying to start on Word document merge, and read an article from MS:
http://support.microsoft.com/kb/301659


I am using VS 2005.
I followed the step to add reference to my dummy application, Microsoft Word
11.0 Object Library.
Also add the -
using Microsoft.Office.Interop.Word

I copy and paste the code from the article to my project.

I got a compilation error at the beginning of the code,
Word.Application wrdApp;
Word._Document wrdDoc;
Object oMissing = System.Reflection.Missing.Value;
Object oFalse = false;"The type or namespace name 'Word' could not be
found'So I cannot event compile my dummy application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top