Please Help!

C

chris

Hi all,

I am trying to figure out how to write some string "as HTML" In word using
vbscript. For instance, if you copy some formatted html from IE and then do
a past in word, it shows up as Formatted HTML with the tags rendered
properly. I want to manually build an HTML string and render it to the
document so that it displays as rendered HTML and not the "<tag> text <tag>"
raw HTML.


I am stuck on this for quite some time. I am building the word document
programmatically on the client using vbscript and cannot seem to get this
last bit working. I've scoured VBA articles(I've mostly ported VBA examples
to vbscript for the project so far).

Any help GREATLY appreciated!

Thanks,

Chris
 
W

Word Heretic

G'day "chris" <chrisr@no_spam.hawaii.rr.com>,

output to text file using Open Filename statements. Open that text
file as HTML doc. using Documents.Open


chris said:
Hi all,

I am trying to figure out how to write some string "as HTML" In word using
vbscript. For instance, if you copy some formatted html from IE and then do
a past in word, it shows up as Formatted HTML with the tags rendered
properly. I want to manually build an HTML string and render it to the
document so that it displays as rendered HTML and not the "<tag> text <tag>"
raw HTML.


I am stuck on this for quite some time. I am building the word document
programmatically on the client using vbscript and cannot seem to get this
last bit working. I've scoured VBA articles(I've mostly ported VBA examples
to vbscript for the project so far).

Any help GREATLY appreciated!

Thanks,

Chris

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

If my answers r 2 terse, ask again or hassle an MVP,
at least they get recognition for it then.
Lengthy replies offlist require payment.
 

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

Similar Threads

inserting HTML in word 0
vba word question 1
Word scripting problem 2
Writing HTML in word VBA 0
ASK Field Formatting 1
Need help modifying code 0
DataObject.SetText and HTML 3
Insert html text with VBA 2

Top