+ Reply to Thread
Results 1 to 4 of 4

Help needed VBA Copy select cells and add to bottom of list.

  1. #1
    Registered User
    Join Date
    09-14-2011
    Location
    London
    MS-Off Ver
    Mac Office 2011
    Posts
    62

    Help needed VBA Copy select cells and add to bottom of list.

    All I need to do is copy the following


    Copy Sheet1(D2) to Sheet2 Bottom of Column C (first cell with no value in)

    then the remain to copy to the same row as above

    Copy Sheet1(D3) to Sheet2 Column A
    Copy Sheet1(D4) to Sheet2 Column B
    Copy Sheet1(E39) to Sheet2 Column D

    Then Copy the entire Sheet including formatting to a new sheet with the label that is equal to the value of D2 of Sheet 2

    Many Thanks

    Matt

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Help needed VBA Copy select cells and add to bottom of list.

    This should work for you

    Please Login or Register  to view this content.
    Then Copy the entire Sheet including formatting to a new sheet with the label that is equal to the value of D2 of Sheet 2
    Copy which sheet?
    By label do you mean to name the new sheet with the value in D2?
    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
    09-14-2011
    Location
    London
    MS-Off Ver
    Mac Office 2011
    Posts
    62

    Re: Help needed VBA Copy select cells and add to bottom of list.

    Almost working for me. I've had to change as I have merged cells.

    However I need it to paste special only values.

    Please Login or Register  to view this content.
    Then Copy the entire Sheet including formatting to a new sheet with the label that is equal to the value of D2 of Sheet 2

    I need to Copy the sheet 'Invoice' to a new sheet in the workbook with all the formatting and spacing etc. The name of that sheet would be The Value of D2:E2 (merged cell) of the sheet 'Invoice'

    Many Thanks

    Matt
    Last edited by thequiff; 10-17-2013 at 08:53 AM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Help needed VBA Copy select cells and add to bottom of list.

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

+ 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] formula needed to copy same set of data from cells into a list
    By will2k in forum Excel General
    Replies: 1
    Last Post: 12-04-2012, 03:23 AM
  2. Copy cells at the bottom of a page as well as the top
    By danellis in forum Excel General
    Replies: 3
    Last Post: 12-18-2011, 03:45 PM
  3. Code to copy data from one column and paste in at the bottom of another list
    By Winon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2011, 10:20 PM
  4. Sort list and put blank cells to bottom
    By JamesT1 in forum Excel General
    Replies: 2
    Last Post: 05-19-2011, 11:27 AM
  5. formula for top four and bottom four numbers in a list without duplicating cells
    By eicdiana in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2011, 03:51 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