Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Haven't we been here before. We suggested
if worksheetfunction.countif(activecell.offset(0,1).r esize(1,4),".") = 4 -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "hotherps " wrote in message ... I need a little help with the following code: If .Cells(x, y).Value = "." _ And Cells(x, y).Offset(0, 4).Value = "." _ And counter < 8 _ And need 0 Then Cells(x, y).Value = "ENG" = problem I'm trying to check to see if the next four cells to the right have the value "." in them. I can't seem to get it right, does Offset work differently when you want to check a range as opposed to a cell? Thanks --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
OFFSET Range | Excel Worksheet Functions | |||
OFFSET and range addresses | Excel Discussion (Misc queries) | |||
Using Offset to name a range | Excel Worksheet Functions | |||
range offset | Excel Programming | |||
dynamic range without using OFFSET() | Excel Programming |