+ Reply to Thread
Results 1 to 8 of 8

Copying and paste data without certain colums

  1. #1
    Forum Contributor
    Join Date
    03-16-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    137

    Copying and paste data without certain colums

    Hi All

    I am looking for a VBA code which copies certain columns onto to a new sheet which has been created. (the sheet attached - red columns must be removed when copied across).

    Currently I have used the recording macro function in order for it to work i need to delete the sheet then recreate the sheet.

    Please can anyone help? which then i can then use a button for.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copying and paste data without certain colums

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-16-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    137

    Re: Copying and paste data without certain colums

    Hi AB33

    Thank for you this however I want to copy only the green heading columns onto to a new sheet without effecting the other original sheet?

    Thanks

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copying and paste data without certain colums

    Please Login or Register  to view this content.

  5. #5
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,024

    Re: Copying and paste data without certain colums

    I want to copy only the green heading columns onto to a new sheet without effecting the other original sheet?
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  6. #6
    Forum Contributor
    Join Date
    03-16-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    137

    Re: Copying and paste data without certain colums

    Thanks all...all sorted both solutions work!


  7. #7
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,024

    Re: Copying and paste data without certain colums

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Glad I could assist...Tx for rep +

  8. #8
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Lightbulb Re: Copying and paste data without certain colums


    Hi,

    as a reminder when the destination headers match exactly the source headers (like here)
    so it can be easily achieved with an Excel basics just needing a single codeline : an advanced filter !

+ 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. How to match value from two colums and copying cells?
    By lynnseck in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2021, 10:04 AM
  2. [SOLVED] copying selected colums by array
    By jpbisani in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2020, 07:46 AM
  3. [SOLVED] Copying Macros just as copying colums
    By ddw2202 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-15-2014, 10:13 AM
  4. Copying 2 colums from one sheet and inserting them into another.
    By caj5888 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-02-2013, 02:49 AM
  5. MAcro to Compare two colums in different sheet and paste corresponding data.
    By avinash.aswani in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2013, 11:25 AM
  6. copying a formular in a colums to a last row used in another column
    By stevekirk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-02-2012, 03:48 AM
  7. Paste data to colums with different layout from the copy range
    By Bob@Sun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-22-2009, 04:24 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