+ Reply to Thread
Results 1 to 2 of 2

Copy each excel row to new word document

  1. #1
    Registered User
    Join Date
    06-20-2010
    Location
    Syracuse, NY
    MS-Off Ver
    MS Office 2007
    Posts
    14

    Copy each excel row to new word document

    Hello All,

    I am trying to create a program that will interact with word exclusively. My company uses specialized reports called BIPs. These reports are normally in individual word documents. However, a different company has taken all of the BIPs and put them all in to one excel spreadsheet. Now, my boss wants me to take all of the information and hand copy and paste each one back into a word document. This is time consuming, as there are thousands of them in this excel spreadsheet, and this could be something we run into again.

    I know there is a way to get excel to put the reports back into a word document, but I can't figure it out.

    Each column has a header which is the name of a section of the BIP. So, what I need to do, is scan each row (A-R), and assign each cell to a string (Let ReportNumber = A2.text, etc.), starting with the second row. Then, open a new word document and put each of these strings into it, inserting the column header before each string. Then, save the word document in my documents as the report number. It needs to loop to the next row, until there are no more rows to scan.

    I feel like this is easy enough, but I can't figure it out. Mainly because I don't know how to get excel to interact with word this way.

    Thank you for any help.

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Copy each excel row to new word document

    Hi..

    Upload a Workbook with all Columns same as your real workbook.. maybe just include 5-10 rows of data...

    Click the "Go Advanced" button to access the Attachment function..

    Question: Did you want each String (Cell data) placed on a new line in the Word doc?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy Macro from Excel To Word Document
    By twitch73 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 03:08 AM
  2. Excel VBA copy specific lines from a Word document
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-25-2012, 05:58 AM
  3. copy excel comment to word document
    By kallek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2010, 11:38 AM
  4. Replies: 2
    Last Post: 02-07-2006, 07:40 PM
  5. [SOLVED] Copy a form from excel into a new word document
    By kevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2005, 02:06 PM

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