+ Reply to Thread
Results 1 to 3 of 3

vba to copy and paste cells to new worksheet

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    Reading, England
    MS-Off Ver
    Excel 2007
    Posts
    34

    vba to copy and paste cells to new worksheet

    Could someone help me with the attached workbook
    I would like the command button in the Colours sheet to do the following:
    In Worksheet 'Colours' copy only the cells in the Range 'Work' that contain anything and paste them into the blue cells in Worksheet 'Final'
    Also each time the command button is activated the copied cells need to be pasted into the cells directly below the cells previously pasted in the 'Final' Worksheet.

    Any help would be great
    Attached Files Attached Files
    Last edited by rikk1965; 01-29-2014 at 11:28 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,671

    Re: vba to copy and paste cells to new worksheet

    Here is the code. It assumes that you have headers in Row 1 of Colors Sheet. Attach this to your command button.

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-16-2013
    Location
    Reading, England
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: vba to copy and paste cells to new worksheet

    Thanks Alan. Works perfect!!!

+ 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] Need to copy certain cells from one worksheet and paste into another worksheet
    By ddouget1 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2013, 05:42 PM
  2. [SOLVED] Trying to copy and paste certain cells from one worksheet to another using a macro
    By renec in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-26-2013, 11:55 PM
  3. [SOLVED] Copy paste from various cells to one row on different worksheet
    By helpappreciated in forum Excel General
    Replies: 3
    Last Post: 12-26-2012, 02:32 AM
  4. Replies: 2
    Last Post: 08-24-2012, 02:33 PM
  5. copy and paste cells to a different worksheet according to IF results
    By faze in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2006, 10:45 AM

Tags for this Thread

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