Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How to save a output property from MSXML

Hello everybody,

I'm sorry if this question looks like ..uhmm!! idiot?.. but 'I'm trying
to display some result in my sheet using MSXML and I don't go further
of the Msgbox use.

see my code
VBA:

Dim xslt As New MSXML2.XSLTemplate40
Dim xslDoc As New MSXML2.FreeThreadedDOMDocument40
Dim xmlDoc As New MSXML2.DOMDocument40
Dim xslProc As IXSLProcessor
Dim paramxml As MSXML2.DOMDocument40
xslDoc.async = False
xslDoc.Load "c:\compara.xsl"
If (xslDoc.parseError.errorCode < 0)
Then
Dim myErr Set myErr = xslDoc.parseError MsgBox ("You have error " &
myErr.reason)
Else
Set xslt.stylesheet = xslDoc
xmlDoc.async = False
xmlDoc.Load "C:\Instructional_program.xml"
If (xmlDoc.parseError.errorCode < 0)
Then
Set myErr = xmlDoc.parseError MsgBox ("You have error " & myErr.reason)
Else
Set xslProc = xslt.createProcessor()
xslProc.input = xmlDoc
xslProc.transform
MsgBox xslProc.output <-- How to produce a output right to a sheet??

End if
End if

Well, it shows me a Msg in HTML format, but I want to display it in
sheet
or save it in a format *.xls .

What should I do?


Thanx.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting vba shell command to execute batch and save output to a file Mad Scientist Jr Excel Programming 2 April 28th 06 03:00 PM
MSXML.DLL HTTP getAllResponseHeaders setRequestHeader "Cookie" Rick Excel Programming 0 October 25th 05 05:00 PM
Need 'save clipboard' property of 'Open file' function. alsameer Excel Programming 1 June 4th 05 12:28 PM
VB strings, MSXML, Latin 9, and the Euro Rod Good Excel Programming 1 June 16th 04 03:18 AM
ScrollArea Property Won't Save Ron de Bruin Excel Programming 1 January 12th 04 11:03 PM


All times are GMT +1. The time now is 02:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"