+ Reply to Thread
Results 1 to 5 of 5

Change Code to Append Copied Data

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Change Code to Append Copied Data

    Hi I have this code that appends data from different user spreadsheets. It does work but is really slow and it does'nt grab the data I want.

    Could someone help me amend the code so that is copies, pastes and appends the data from the Work Coach TNA tab, range A5:I528 into the Training List tab cell A1

    Please Login or Register  to view this content.
    Thanks B

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,042

    Re: Change Code to Append Copied Data

    Well, you opening each file in the folder.
    I don't know how much faster it can be.

    Do you write in opened file?
    If not then you don't need to save it before closing.
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Change Code to Append Copied Data

    Hi zbor, thanks for your reply. Im not sure what you mean by "Do you write in opened file?"

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,042

    Re: Change Code to Append Copied Data

    You open some workbook
    Please Login or Register  to view this content.
    And then you save it:

    Please Login or Register  to view this content.
    But as I see you copy FROM that wb. Not into it.
    So no need of saving it.

    Code should be:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Change Code to Append Copied Data

    OK Thanks I will change that. Could you help with the copy and append problem ?

+ 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. Replies: 2
    Last Post: 01-01-2015, 09:38 PM
  2. Replies: 0
    Last Post: 07-18-2012, 03:45 AM
  3. [SOLVED] Macro to code the Data set in another sheet to append in columns based on Criteria
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-10-2012, 11:41 AM
  4. [SOLVED] Simple code to append numbers to the existing data in the cells
    By Hemang Shah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2006, 01:02 AM
  5. [SOLVED] How do I, in a marco VBA, code to take data from excel and append it to Access?
    By Pete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM
  6. Replies: 1
    Last Post: 07-07-2005, 10:05 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