Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA to delete columns
Hi, I would like to delete columns after a cell of a given value. So for example, I have a series of cells in a row (A1,B1,C1,D1,E1,F1,G1,etc.) and each cell is a sequential date. C1 has a value of July 1, 2009, and I would like my subroutine to delete all cells after this date (to the right of this cell). Is there a way to lookup the cell values in this row (row 1 in my example) greater than July 1, 2009 and clear the contents of the entire columns those cells belong to? Thanks! -- Hugo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete Columns | Excel Programming | |||
create a macro to delete columns and then border remaining columns | Excel Programming | |||
Delete all Columns with a certain value | Excel Programming | |||
merge text from 2 columns into 1 then delete the old 2 columns | Excel Worksheet Functions | |||
Delete columns | Excel Programming |