+ Reply to Thread
Results 1 to 5 of 5

delete unnecessary columns

  1. #1
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    delete unnecessary columns

    Hi ,

    can someone help me write code how to delete unnecessary columns and keep the columns mentioned in "Output columns"sheet.

    For example in the sheet "Raw" my columns changes everyday but only few columns remain same rest would be new.(new columns would be unpredictable).

    Hence i want to remove those newly added columns but based on the validation sheet "Output columns" there for keep all the columns in raw sheet from the list available in "Output columns" sheet. rest delete

    enclosed file for you use

    Thanks & regards,
    hudson
    Attached Files Attached Files

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

    Arrow

    Hi !

    According to your attachment that just needs to delete any column after column P without the need of the second worksheet …

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: delete unnecessary columns

    How about
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    Re: delete unnecessary columns

    Fluff13,

    This is crazy and it look fantastic it worked like charm!!!

    Thank you so much

    Hudson

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: delete unnecessary columns

    You're welcome & thanks for the feedback

+ 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. Delete Unnecessary Data and Remove Blank Rows
    By kingsdime29x in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2017, 02:26 AM
  2. Replies: 5
    Last Post: 10-06-2017, 03:59 PM
  3. [SOLVED] Delete Unnecessary Data Connections
    By excellenthelp in forum Excel General
    Replies: 3
    Last Post: 02-01-2016, 12:02 PM
  4. Macro code needed to delete unnecessary data after 20 lines
    By mohammedfaizal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2013, 08:36 AM
  5. [SOLVED] delete unnecessary rows
    By moniquem in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-13-2013, 02:28 AM
  6. Unnecessary SUM()
    By carsto in forum Excel General
    Replies: 6
    Last Post: 02-18-2011, 06:21 PM
  7. how to delete unnecessary rows ??
    By colwyn in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-28-2008, 05:31 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