+ Reply to Thread
Results 1 to 6 of 6

Open word documents and paste excel data to them

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Open word documents and paste excel data to them

    Hi All,
    We have a Word document (actually rtf if that matters) which we use as template to sent to customers.
    Now we manually copy data from an excel table into the word document as a picture.

    I would like to automate this with an excel macro.
    Can somebody please put me on my way?
    So how to open a word document from excel and then from an excel sheet copy data and paste it as picture in the word document.
    Thanks!

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: Open word documents and paste excel data to them

    Ok I found maybe already a start but still not there. (I just used a docx extension)
    Please have a look at this code:
    Please Login or Register  to view this content.
    It opens the word document.
    But I actually also need to place the cursor to a specific location on the word document.
    Because above an below the excel data there will be text.

    So the word document is a template and the excel data I want to paste into it is part of the whole message.

  3. #3
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: Open word documents and paste excel data to them

    Hoped somebody had a clue for me after the weekend.
    So maybe the better question is...can it be done?
    Or is the only way to compose the entire template tekst in the macro and paste it as one "picture" into the word document?
    Thanks.

  4. #4
    Forum Contributor
    Join Date
    01-08-2013
    Location
    ankara
    MS-Off Ver
    Excel 2010
    Posts
    134

    Re: Open word documents and paste excel data to them

    Hello I'm not an expert but Im using this code:
    Please Login or Register  to view this content.
    This code opens a word file automatically and this word file has an excel object. Whenever, word document is opened word automatically renews new variable from excel like a picture.
    You can create linked-excel objects in word after copying from excel, as below:
    asas.jpg

    I know that's not you want but if noone replies you may improve the idea and you can also create macros in word.

  5. #5
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: Open word documents and paste excel data to them

    Hi 1tane1, thank you for your reply.
    I am indeed now just trying all sorts of things.
    Thank you for your contribution, I will see if I can work with this.
    Maybe there are helpfull commands in there for me.

  6. #6
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: Open word documents and paste excel data to them

    Ok for the text parts I not got it to work with help of posting to bookmarks in word.
    But have a new somewhat silimar problem now.
    However it is only confusing I I adress this in this thread so I will close this and open a new one.

+ 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