+ Reply to Thread
Results 1 to 5 of 5

Automatically copy and transpose from different tables in Word to one table in Excel

  1. #1
    Registered User
    Join Date
    01-18-2015
    Location
    Kwara, Nigeria
    MS-Off Ver
    2013
    Posts
    16

    Automatically copy and transpose from different tables in Word to one table in Excel

    Hello everyone!
    I need to copy some tables from MS Word to Excel automatically with VBA. but I need the tables to be transposed in Excel. I've attached samples to this post so that you can understand what I mean.
    I've tried some codes but they are not working like I want. I need this urgently please.
    If someone is out there reading this and can help out, please do.
    Save a soul here please!
    Thank you in advance.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-01-2011
    Location
    georgia
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Automatically copy and transpose from different tables in Word to one table in Excel

    The macro code below seems to function as you desire. I modified code found on another forum to transpose the table and read the header once. This assumes the headers are always the same in column 1 of each of the Word tables.

    Source: http://www.mrexcel.com/forum/excel-q...lications.html

    Please Login or Register  to view this content.
    Copy this as a macro into your workbook and run it. Browse to the .docx file and it will pull the data onto a new sheet.
    <----Don't forget to add reputation if I helped

  3. #3
    Registered User
    Join Date
    01-18-2015
    Location
    Kwara, Nigeria
    MS-Off Ver
    2013
    Posts
    16

    Re: Automatically copy and transpose from different tables in Word to one table in Excel

    @percecuted: Thank you so much for the code. But how do I add 'reputation'? Let me know how please so that I can add it. Thank you once again.

  4. #4
    Registered User
    Join Date
    01-18-2015
    Location
    Kwara, Nigeria
    MS-Off Ver
    2013
    Posts
    16

    Re: Automatically copy and transpose from different tables in Word to one table in Excel

    @percecuted, I don't also know where you can give me a full code of that one you sent me. I want the code to run on both MAC and Windows. Thank you. I will repeat the code below.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-01-2011
    Location
    georgia
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Automatically copy and transpose from different tables in Word to one table in Excel

    Unfortunately I don't know what changes, if any, need to be made in order for this to run on both MAC and Windows systems. I only have Windows systems to work with.

+ 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. [SOLVED] Copy excel sheets to Word Tables
    By oneillp1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2013, 12:00 PM
  2. Copy charts from excel to word - specific tables
    By h0ps in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2012, 05:32 AM
  3. Macro - Create smaller word tables from master excel table
    By VBA_n00b in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2011, 10:12 PM
  4. Replies: 6
    Last Post: 10-11-2005, 05:05 PM
  5. [SOLVED] Copy Word tables to Excel
    By Don in forum Excel General
    Replies: 3
    Last Post: 02-13-2005, 01:08 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