Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have searched this forum for a macro that will just delete columns based on a value in row1. It seems everyone has a twist on what they need and I am not smart enough to extract just what I need from the code. I am not looking for just the clearing of content, but the actual deletion of the column. I have a data set that may be over 200 columns long and on numerous sheets. (the number of columns will be different in each sheet). I am going to write a formula in Row 1 that will identify the columns I want to keep and the ones I want to delete. To make things evident, I am writing the formula in row 1 so the columns I want to keep will return the word "keep" and the ones I want to delete return the word "delete". I would then like to delete the columns that have the word "delete" in row 1. I have heard that some of the best macros will identify all the columns first and then delete them all at once. Unfortunately, I wouldn't even know where to begin. Any help would be greatly appreciated. Thank you for your time. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
create a macro to delete columns and then border remaining columns | Excel Programming | |||
Need Help Delete Columns Macro PLEASE! | Excel Programming | |||
Using a macro to delete last 4 rows and last 2 columns which vary | Excel Programming | |||
Macro to Delete empty columns | Excel Programming | |||
Macro to delete columns | Excel Programming |