+ Reply to Thread
Results 1 to 3 of 3

Writing Data to a Existing Word Doc.

  1. #1
    Registered User
    Join Date
    02-05-2006
    Posts
    40

    Writing Data to a Existing Word Doc.

    I need to write the data that is calculated from my excel document to an existing Word document.

    I have an already formated blank Word document (i.e. it has a company heading and logo, names, addresses etc) and each time a new calculation is run in my excel document the user has the option of exporting the details to the blank word doc.

    I know this request is a bit general but I was wondering if anyone cold give me any pointers.

    Best Regards,

    Aaron

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187
    You will need to reference the word object library from excel but after that it is all about controlling word objects for which you probably get better advice on a Word site, even though the code will end up in Excel module.

    Hope this helps you to get an answer.

  3. #3
    Tom Ogilvy
    Guest

    Re: Writing Data to a Existing Word Doc.

    Here is a good starter document:

    http://support.microsoft.com/kb/307216/en-us
    How to use Automation with Word 2002

    http://support.microsoft.com/kb/253235/en-us
    OFFAUTMN.exe discusses Office 97 and 2000 Automation and provides sample
    code

    http://support.microsoft.com/kb/260410/en-us
    Microsoft Office 2000 automation Help file is available in the Download
    Center


    --
    Regards,
    Tom Ogilvy


    "Aaron1978" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I need to write the data that is calculated from my excel document to an
    > existing Word document.
    >
    > I have an already formated blank Word document (i.e. it has a company
    > heading and logo, names, addresses etc) and each time a new calculation
    > is run in my excel document the user has the option of exporting the
    > details to the blank word doc.
    >
    > I know this request is a bit general but I was wondering if anyone cold
    > give me any pointers.
    >
    > Best Regards,
    >
    > Aaron
    >
    >
    > --
    > Aaron1978
    > ------------------------------------------------------------------------
    > Aaron1978's Profile:

    http://www.excelforum.com/member.php...o&userid=31201
    > View this thread: http://www.excelforum.com/showthread...hreadid=508791
    >




+ 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