Results 1 to 2 of 2

Thread: webbrowser control and word documents

  1. #1

    Thread Starter
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    webbrowser control and word documents

    How do I save changes a user makes to a Word or Excel document that is view through the webbrowser control.
    My goal is to turn the document to a blob for db storage but for now I'd be happy to just know how to save changes.
    Truly, you have a dizzying intellect.

  2. #2
    New Member
    Join Date
    May 2007
    Posts
    6

    Re: webbrowser control and word documents

    If setting oDocument in the NavigateComplete2 event...
    Then later just use oDocument.SaveAs "filename.doc"

    Dim oDocument As Object

    Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, _
    URL As Variant)
    On Error Resume Next
    Set oDocument = pDisp.Document
    End Sub

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