An extract of my code below works fine if column EV is visible. However, I have this grouped together with other columns to hide these columns from the user. The problem is the code below then returns nothing when the column is grouped and hidden
I could unhide the column as part of the code but is there a more elegant way to find in hidden/grouped cells?
Code:
With Worksheets(1).Range("ev1:ev3500")
Set rng = .Find(What:=Me.OLEObjects(comboval).Object.Value, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlPart, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not rng Is Nothing Then
End if
End with
Thanks,
Os