Closed Thread
Results 1 to 2 of 2

Exporting a range to a table in excel

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    2

    Exporting a range to a table in excel

    Afternoon all,

    I was hoping someone could help, I'm looking to export a range of cells from excel into an existing word template which contains a table. I've got 2 issues:

    1. My code so far (shamelessly stolen from the internet) only allows the first column to be transferred over;
    2. Is there any way to make it skip blank rows when copying over?

    Code to date:
    Please Login or Register  to view this content.

    Trying to get from:
    excel.PNG

    To:
    word.PNG


    Any help greatly appreciated.
    Last edited by Leith Ross; 06-14-2017 at 12:51 PM. Reason: Added Code Tags

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Exporting a range to a table in excel

    OP has posted in CS
    thread closed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Exporting excel table to *currently open* word doc
    By aserle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2013, 11:57 PM
  2. Exporting a table in Outlook to Excel using VBA
    By kurifodo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2013, 09:12 AM
  3. Automatic exporting in notepad text form from Excel Table
    By Horia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2010, 09:39 AM
  4. Exporting Excel to Access Table
    By PRodgers4284 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2009, 04:30 PM
  5. Exporting excel table to xml
    By alexandruiga in forum Excel General
    Replies: 0
    Last Post: 03-29-2008, 09:55 AM
  6. exporting Excel info to Access table
    By Dan McMillen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2008, 05:04 PM
  7. Exporting html table to excel
    By Gobi in forum Excel General
    Replies: 0
    Last Post: 06-07-2006, 02:55 AM
  8. Exporting data range from Excel to Access
    By Shep in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2006, 04:35 AM

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