L
Lawrence007
Hi,
I am using the following code to open my word document:
Dim oWord As Microsoft.Office.Interop.Word.Application = New
Microsoft.Office.Interop.Word.Application
Dim missing As Object = System.Reflection.Missing.Value
Dim XMLFiles As String = "My File location\"
Dim XSLTPath As String = "My XSLT File.xslt"
oWord.Documents.Open(XMLFiles & "ForChange.xml", missing, missing,
missing, missing, missing, missing, _
missing, missing, missing, missing, missing, missing, missing,
missing, _
XSLTPath)
I want to save this file as Word XML using Visual Basic. How can I do this?
I can do it fine through MS word, but saving it with Visual basic it saves it
as a plain XML. I would really appreciate the help.
Thanks
I am using the following code to open my word document:
Dim oWord As Microsoft.Office.Interop.Word.Application = New
Microsoft.Office.Interop.Word.Application
Dim missing As Object = System.Reflection.Missing.Value
Dim XMLFiles As String = "My File location\"
Dim XSLTPath As String = "My XSLT File.xslt"
oWord.Documents.Open(XMLFiles & "ForChange.xml", missing, missing,
missing, missing, missing, missing, _
missing, missing, missing, missing, missing, missing, missing,
missing, _
XSLTPath)
I want to save this file as Word XML using Visual Basic. How can I do this?
I can do it fine through MS word, but saving it with Visual basic it saves it
as a plain XML. I would really appreciate the help.
Thanks