#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Conditionally delete

Hi,

Does someone have script that will allow me to delete all cells that
are blue (in a worksheet)? Or does it have to be cell specific?
Thanks.

James

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Conditionally delete

Chip Pearson has some good info here on working with colors.........

http://www.cpearson.com/Excel/colors.htm

Vaya con Dios,
Chuck, CABGx3




"James" wrote:

Hi,

Does someone have script that will allow me to delete all cells that
are blue (in a worksheet)? Or does it have to be cell specific?
Thanks.

James


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Conditionally delete

Are the cells colored blue manually or by Conditional Formatting?

If by CF, use the same criteria to select the cells.

By "delete" do you mean clear contents or deleteshift up or left?

If manually formatted to blue...................

If you have Excel 2003(don't know about 2007)

You could try this alternate method which doesn't use VBA or any add-ins.

In 2003 you can specify the Format color to look for under
EditFindOptionsFormatFormat.

Select the color from the Patterns dialog and Find All.

In the found dialog box the first cell will be highlighted.

SHIFT + End + Down Arrow to select all found cells.

The selected cells can then be EditCleared or Shifted.

Otherwise you would need VBA


Gord Dibben MS Excel MVP

On Tue, 06 Nov 2007 08:35:21 -0800, James wrote:

Hi,

Does someone have script that will allow me to delete all cells that
are blue (in a worksheet)? Or does it have to be cell specific?
Thanks.

James


Reply
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
How do I conditionally delete rows based on cell contents? John Chan Excel Worksheet Functions 3 May 17th 23 03:45 AM
.FontSize conditionally John C Excel Worksheet Functions 6 December 24th 06 05:45 PM
Conditionally Formatting phmckeever Excel Worksheet Functions 1 August 25th 06 03:00 PM
Background changes conditionally PeterG Excel Discussion (Misc queries) 4 June 24th 05 07:44 AM
Is there a way to conditionally hide a row? Maxwell Sprinkler Excel Discussion (Misc queries) 1 June 1st 05 12:56 AM


All times are GMT +1. The time now is 10:32 AM.

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

About Us

"It's about Microsoft Excel"