Results 1 to 9 of 9

Thread: Word Document to HTML

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    13

    Word Document to HTML

    Hi, I'm new to VB so go easy on me. I need to write some code that opens a Word Document and then either extracts the data so that a HTML document can be created or simply resaves it as an HTML document.

    I've had a quick look around the net and tried adding an Object Reference to Microsoft Word Object X.0 Library to my Project. So that I could play around with things, but immediately It was telling me the following weren't defined.

    Dim objWdApp As Word.Application
    Dim objWdDoc As Word.Document
    Dim objwdRange As Word.Range

    Could anyone either explain what kind of thing I would need to do or link me to some useful tutorial.

    Muchos Gracias
    Last edited by alanio; Jan 8th, 2009 at 11:12 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width