View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Testing for content in Range

Hi
you could use something like
msgbox application.countif(your_range,your_condition)
within VBA

or use the Find method within VBA


--
Regards
Frank Kabel
Frankfurt, Germany


Jim McLeod wrote:
Hi Guys,

Is it possible to test a range for content using VBA without visiting
each cell in a for each loop?

Regards,

Jim...