Results 1 to 6 of 6

Code to delete columns based on variable

Threaded View

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    sydney
    MS-Off Ver
    Excel 2010
    Posts
    9

    Code to delete columns based on variable

    Hi All

    Can anyone think of a code where it would delete whole columns based on the column name which is in the inputs tab.
    I need to be able to 1. Change the column order freely. 2. Change the inputs. 3. The code to find the column based on the inputs.
    Attached is a sample report.

    Thanks
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. sorting columns based on row criteria, with variable number of columns
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-02-2014, 04:02 PM
  2. Delete columns & Row based on criteria VBA code needed
    By Gary B in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-28-2014, 02:59 PM
  3. Delete Range based on cell value with variable row - Should be simple
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-19-2014, 06:34 AM
  4. Macro to delete certain columns and delete rows based on time in another column
    By beepbeep27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2012, 11:47 AM
  5. Code to delete rows based on status code in Column I
    By LemonTwist in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2009, 07:01 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