Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Sylvain
 
Posts: n/a
Default Insert HTML into a word document

Does anybody know how to insert html into word programmatically?

I'm using VB.net and I would like to add some html into a word
document, but all I can do is insert the actual text, I want bullets to
appear instead of UL.

I tried using the clipboard, I get a command failed error.

Any help would be appreciated.

Thanks,

sylvain.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Sylvain
 
Posts: n/a
Default Insert HTML into a word document

I managed to do this by creating an html file containing all my html
code (u need these tags htmlbody.../body/html or else it won't
work even if it looks alright in IE), then inserted the file using the
selection.insertFile() method in a word document.

This seems to be the only way to do it.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
how do i set up template in vbeditor without proggramming language ARRRGH New Users 4 October 1st 05 03:19 AM
Envelope Address GR New Users 5 April 24th 05 09:48 PM
WordPerfect keyboard macro>Word equivalent? Anty New Users 2 March 13th 05 06:23 PM
How to insert flash animation into a word html document? NerdChick Microsoft Word Help 1 December 15th 04 02:31 PM


All times are GMT +1. The time now is 07:40 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"