ALawrence007
asked on
Set Word Doc settings programmatically
Hi,
I am opening a word document with the code listed below:
How can I set the XSL stylesheet for my XML document? I know the very last parameter is:
ByRef XML Transform as Object, but I do not know enough to create the code myself.
Thanks
I am opening a word document with the code listed below:
How can I set the XSL stylesheet for my XML document? I know the very last parameter is:
ByRef XML Transform as Object, but I do not know enough to create the code myself.
Thanks
Dim oWord As Microsoft.Office.Interop.Word.Application = New Microsoft.Office.Interop.Word.Application
Dim filename As String = Application.StartupPath + "\Output\Output.xml"
Dim missing As Object = System.Reflection.Missing.Value
oWord.Visible = True
oWord.Documents.Open(filename, missing, missing, missing, missing, missing, missing, _
missing, missing, missing, missing, missing, missing, missing, missing, missing)
oWord.Activate()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also if you have client on Windows 2000 and XP both
check this as well
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=783450&SiteID=1
check this as well
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=783450&SiteID=1
http://www.softwareobjectives.com.au/VoConversion/Article%20Archive/Generating%20business%20documents%20using%20XML%20and%20MS.mht