Using Word Interop
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All I'm trying to do a mailmerge from a VB.NET winform program into an MS Word Document but I am getting tied up in knots right at the start. Visual Studio 2005 I have added the MS Office Word reference to the Solution Imports Microsoft.Office.Interop.Word Form_Open Dim oWordApp As New Microsoft.Office.Interop.Word.Application oWordApp.Visible = true the oWordApp is underlined as a error of "Declaration Expected" All help & Pointers Gratefully received