LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.misc
CEG CEG is offline
external usenet poster
 
Posts: 29
Default Code to delete columns meeting a condition

Thanks so much...this works!
--
CG


"Dave O" wrote:

With all due respect to all contributors: my original post did not
contain an End If because the IF structure had only one instruction.
Unfortunately the newsgroup line-wrapped, as I explained earlier;
adding the End If prevents the Offset from occurring on every loop,
which is required to consider all columns in that range.

CEG, please concatenate the two lines indicated in my responding post.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy and use vba code Giz Excel Discussion (Misc queries) 9 November 22nd 06 09:57 PM
Search & delete ANY text in select columns huruta Excel Discussion (Misc queries) 2 June 30th 06 07:31 PM
delete unused columns and grey out the rest area random number generator Excel Worksheet Functions 1 March 31st 06 06:32 PM
merge text from 2 columns into 1 then delete the old 2 columns sleepindogg Excel Worksheet Functions 4 March 30th 06 07:25 PM
Can you delete all hidden columns in an area in one move? Gizmofied Excel Discussion (Misc queries) 2 February 2nd 06 10:41 PM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"