+ Reply to Thread
Results 1 to 1 of 1

VBA Code to copy/paste data in Word

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    US
    MS-Off Ver
    2010
    Posts
    9

    VBA Code to copy/paste data in Word

    I want to run a Macro to copy a range of pages in a Word doc and paste them at the end. The Macro I have is extremely slow as I recorded it. This is my first time writing VBA in Word and am lost as how to do it. Any guidance is greatly appreciated! See belowfor the VBA I currently have.

    "Sub AddProperty()
    '
    ' AddProperty Macro
    ' Add Individual Property section to Portfolio ASR.
    '
    Selection.MoveDown Unit:=wdLine, Count:=279, Extend:=wdExtend
    Selection.Copy
    Selection.MoveDown Unit:=wdLine, Count:=1
    Selection.InsertBreak Type:=0
    Selection.PasteAndFormat (wdFormatOriginalFormatting)
    End Sub"
    Last edited by sherryaw; 02-14-2017 at 11:07 AM.

+ 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 data range and paste to word doc
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2015, 08:35 AM
  2. copy data from excel and paste in active word doc
    By prabhuduraraj09 in forum Word Formatting & General
    Replies: 1
    Last Post: 04-28-2014, 08:07 AM
  3. Replies: 0
    Last Post: 03-20-2014, 11:51 AM
  4. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  5. [SOLVED] Find word, Offset, copy and paste data
    By Hood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2013, 09:50 AM
  6. copy data from excel and paste the data to word document in speciofic column.
    By vsabap in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 07:12 AM
  7. Replies: 1
    Last Post: 10-01-2012, 11:11 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