Results 1 to 6 of 6

Please help me Create new word file and copy table, data from excel

Threaded View

sbv1986 Please help me Create new... 02-13-2019, 10:18 AM
Leith Ross Re: Please help me Create new... 02-13-2019, 09:57 PM
sbv1986 Re: Please help me Create new... 02-13-2019, 10:32 PM
Leith Ross Re: Please help me Create new... 02-13-2019, 10:36 PM
sbv1986 Re: Please help me Create new... 02-13-2019, 10:40 PM
Leith Ross Re: Please help me Create new... 02-13-2019, 10:47 PM
  1. #1
    Forum Contributor
    Join Date
    10-29-2017
    Location
    US
    MS-Off Ver
    2013
    Posts
    142

    Please help me Create new word file and copy table, data from excel

    Hi all

    I have excel file: main.xlsm with data in sheets("data")

    Now I want macro VBA to do that
    - Create new Word file with name Report.docx
    - Copy sheets("data").range(A1:C6) paste to report.docx as table, then copy sheets("data").range(A9:A13) paste belove as text
    - Copy sheets("data").range(H1:J6) paste belove as table, then copy sheets("data").range(H9:H13) paste belove as text.
    - Save Report.docx the same folder with main.xlsx.

    I attach excel file like source and word file like result that I want

    Please help me to do that, many thanks./.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create new Word file then Copy table and contents from Excel to that Word file
    By sbv1986 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2018, 09:14 AM
  2. Vba to copy Word file data to Excel sheet
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2016, 07:32 AM
  3. Copy Excel Data into Word Table
    By spider1123@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2012, 12:04 PM
  4. Replies: 0
    Last Post: 06-15-2011, 02:22 PM
  5. Copy a Table from Word file to Excel
    By sure2005 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2010, 11:37 PM
  6. Any way to create an Excel file from data in Word?
    By putty in forum Excel General
    Replies: 1
    Last Post: 06-19-2006, 02:55 PM
  7. Replies: 1
    Last Post: 10-17-2005, 04:05 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