LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Use Selection.SpecialCells for cells with a particular value?

Hello,
Im looking for a way to select all cells in a current region with a certain
value.
Similar to what Go To Special does with blanks or constants.
Selection.SpecialCells(xlCellTypeConstants, 23).Select
Id like to avoid using loops or If then, because the region is quite large
and there are few cells that meet the condition.
The value is the word test.
Is there a way to use Selection.SpecialCells for cells containing the word
test?
After all the cells containing the word test are selected, Ill change the
selections format.

 
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
XL2002: Selection.SpecialCells(xlCellTypeBlanks).Select Trevor Williams Excel Programming 4 September 1st 08 02:04 PM
Excel 2003 'SpecialCells' VBA cell Selection - how do I do this? Helpneeded please [email protected] Excel Programming 4 April 29th 08 04:34 PM
SpecialCells - no cells selected jims2994 Excel Programming 1 March 28th 07 07:42 PM
SpecialCells - no cells selected jims2994 Excel Programming 0 March 27th 07 11:53 PM
.Cells.SpecialCells(xlLastCell) Simon Shaw Excel Programming 8 May 5th 05 11:46 PM


All times are GMT +1. The time now is 07:43 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"