Thread: Offset Range
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
hotherps[_113_] hotherps[_113_] is offline
external usenet poster
 
Posts: 1
Default Offset Range

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 th
value "." in them.
I can't seem to get it right, does Offset work differently when yo
want to check a range as opposed to a cell?

Thank

--
Message posted from http://www.ExcelForum.com