Results 1 to 2 of 2

Thread: Opening Word Template or document from VB

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Location
    Stourbridge, England, UK
    Posts
    158

    Opening Word Template or document from VB

    Hello,

    Only one question, how do i open an existing Word Template or Document using code from my VB program.

    Help would be much appreciated.

    Thanks,
    SKM.

  2. #2
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Opening Word Template or document from VB

    Use the "Open" method of the Documents Collection.

    VB Code:
    1. Documents.Open FileName:="C:\YourDoc.Doc"
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

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