+ Reply to Thread
Results 1 to 2 of 2

Opening a word document

  1. #1
    RobH
    Guest

    Opening a word document

    >From within my Excel macro, I want to open a specific word document and
    paste part of my spreadsheet into a specific part of the word document.
    Anybody know how?

    Thanks,
    RobH


  2. #2
    Forum Contributor
    Join Date
    03-24-2004
    Location
    Edam Netherlands
    Posts
    181
    Dim WordApp As Object

    Set WordApp = CreateObject("Word.Application")

    With WordApp
    .Documents.Open "C:\Filename.doc"
    .Visible = True
    End With

    WordApp.Quit

    Set WordApp = Nothing

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1